* procs should not be "of object", methods should not have context:pointer * record should have function pointers * Context in yajl_alloc() should be the object instance for the methods * The records passed to yajl_alloc() should not be local (so Delphi doesn't clean them up when the method returns)
* yajl_alloc_funcs record had free/realloc out of order * "of object" is Delphi compiler magic for methods, it means there is a hidden Self pointer as the first parameter, so: 1. function imports should not be "of object", 2. if methods are to be used, they should not have the context:Pointer parameter (if regular procedures are used, they need to have it)
Removed the allocFuncs from the demo projects (not yet implemented).
… blog post. Changed Tyajl_gen_get_buf to include out parameters so they can be altered to return our result. Still not working in any way but we'll get there! Signed-off-by: jamiei
…and the test project. Signed-off-by: jamiei <firstname.lastname@example.org>