]> git.saurik.com Git - cycript.git/blobdiff - JavaScript.hpp
While libedit requires me to damage rl_basic_word_break_characters, readline requires...
[cycript.git] / JavaScript.hpp
index 9e9c85211df6648e070ebec9ce820506675eeb3f..f5c487d5144928b789ae5d54b0d723f097f7b409 100644 (file)
 #include <JavaScriptCore/JSObjectRef.h>
 #include <JavaScriptCore/JSValueRef.h>
 
+#ifdef HAVE_FFI_FFI_H
+#include <ffi/ffi.h>
+#else
 #include <ffi.h>
-#include <sqlite3.h>
+#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);