Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding restype and argtypes for the yajl C functions used by yajl_par…
…se.py. As currently implemented, yajl-py fails for 64-bit architectures because ctypes defaults to a return value of c_int. That means the yajl.yajl_alloc function returns only the bottom 32-bits of a 64-bit pointer, causing segmentation faults in yajl.yajl_parse when it is used.
- Loading branch information