Sha256: 0c350ec84d9eb1bfb6a3da678240ee0b758dc060ec8333b8761b28478fdd19bd

Contents?: true

Size: 792 Bytes

Versions: 4

Compression:

Stored size: 792 Bytes

Contents

#ifndef YAJL_HELPERS
#define YAJL_HELPERS

#include <ruby.h>
#include <yajl/yajl_common.h>
#include <yajl/yajl_parse.h>
#include <yajl/yajl_gen.h>

// Yajl Helpers ==============================================================
void Init_yajl_helpers();
void yajl_helper_check_status(yajl_handle handle, yajl_status status, int verbose, const unsigned char * jsonText, size_t jsonTextLength);
void yajl_helper_check_gen_status(yajl_gen_status status);

// Memory funcs
void* yajl_helper_malloc(void *ctx, size_t);
void* yajl_helper_realloc(void *ctx, void *ptr, size_t size);
void  yajl_helper_free(void *ctx, void *ptr);
// static yajl_alloc_funcs* yajl_helper_alloc_funcs();

void yajl_configure(yajl_handle handle, VALUE options);
void yajl_gen_configure(yajl_gen g, VALUE options);

#endif

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wankel-0.6.2.1 ext/wankel/yajl_helpers.h
wankel-0.6.2 ext/wankel/yajl_helpers.h
wankel-0.6.1 ext/wankel/yajl_helpers.h
wankel-0.6.0 ext/wankel/yajl_helpers.h