Displaying 1 result from an estimated 1 matches for "libxl_yajl_length".
2012 Jan 15
2
[PATCH v3] libxl: add support for yajl 2.x
...2012 +0100
+++ b/tools/libxl/libxl_json.c Sun Jan 15 06:56:00 2012 +0100
@@ -519,7 +519,7 @@ static bool is_decimal(const char *s, un
return false;
}
-static int json_callback_number(void *opaque, const char *s, unsigned int len)
+static int json_callback_number(void *opaque, const char *s, libxl_yajl_length len)
{
libxl__yajl_ctx *ctx = opaque;
libxl__json_object *obj = NULL;
@@ -576,7 +576,7 @@ out:
}
static int json_callback_string(void *opaque, const unsigned char *str,
- unsigned int len)
+ libxl_yajl_length len)
{...