ext/yajl/yajl_encode.h in yajl-ruby-1.1.0 vs ext/yajl/yajl_encode.h in yajl-ruby-1.2.0
- old
+ new
@@ -34,19 +34,22 @@
#define __YAJL_ENCODE_H__
#include "yajl_buf.h"
#include "api/yajl_gen.h"
+YAJL_API
void yajl_string_encode2(const yajl_print_t printer,
void * ctx,
const unsigned char * str,
unsigned int length,
unsigned int htmlSafe);
+YAJL_API
void yajl_string_encode(yajl_buf buf, const unsigned char * str,
unsigned int length,
unsigned int htmlSafe);
+YAJL_API
void yajl_string_decode(yajl_buf buf, const unsigned char * str,
unsigned int length);
#endif