rapidyaml  0.9.0
parse and emit YAML, and do it fast
common.cpp File Reference
#include "c4/yml/common.hpp"
#include <stdlib.h>
#include <stdio.h>

Go to the source code of this file.

Namespaces

 c4
 
 c4::yml
 

Functions

void c4::yml::report_error_impl (const char *msg, size_t length, Location loc, FILE *f)
 
void c4::yml::error_impl (const char *msg, size_t length, Location loc, void *)
 
void * c4::yml::allocate_impl (size_t length, void *, void *)
 
void c4::yml::free_impl (void *mem, size_t, void *)
 
void c4::yml::set_callbacks (Callbacks const &c)
 set the global callbacks for the library; after a call to this function, these callbacks will be used by newly created objects (unless they are copying older objects with different callbacks). More...
 
Callbacks const & c4::yml::get_callbacks ()
 get the global callbacks More...
 
void c4::yml::reset_callbacks ()
 set the global callbacks back to their defaults () More...
 
void c4::yml::error (Callbacks const &cb, const char *msg, size_t msg_len, Location loc)
 
void c4::yml::error (const char *msg, size_t msg_len, Location loc)