Sha256: 76c1401dbb8e12e250a7c1e6d49793f1d97ac0b96263dd6b225f0ee0240edd4c

Contents?: true

Size: 767 Bytes

Versions: 7

Compression:

Stored size: 767 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 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

7 entries across 7 versions & 1 rubygems

Version Path
wankel-0.5.0 ext/wankel/yajl_helpers.h
wankel-0.4.0 ext/wankel/yajl_helpers.h
wankel-0.3.1 ext/wankel/yajl_helpers.h
wankel-0.3.0 ext/wankel/yajl_helpers.h
wankel-0.2.0 ext/wankel/yajl_helpers.h
wankel-0.1.1 ext/wankel/yajl_helpers.h
wankel-0.1.0 ext/wankel/yajl_helpers.h