X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9cad30fab188a57c3db8df0912a1691099468e64..ab3d214f08ca9ea4480fdadbc0bb8f400e3cead6:/JavaScript.hpp diff --git a/JavaScript.hpp b/JavaScript.hpp index 9e9c852..f5c487d 100644 --- a/JavaScript.hpp +++ b/JavaScript.hpp @@ -46,8 +46,11 @@ #include #include +#ifdef HAVE_FFI_FFI_H +#include +#else #include -#include +#endif extern JSStringRef Array_s; extern JSStringRef cy_s; @@ -134,8 +137,6 @@ struct CYHooks { extern struct CYHooks *hooks_; -char *sqlite3_column_pooled(apr_pool_t *pool, sqlite3_stmt *stmt, int n); - JSObjectRef CYMakePointer(JSContextRef context, void *pointer, size_t length, sig::Type *type, ffi_type *ffi, JSObjectRef owner); void CYFinalize(JSObjectRef object);