X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b4aa79afea0c26718af8880c3ee8fea63eb21563..e9c9a47c07e7dc631b227347a767618bf6e79723:/sig/ffi_type.hpp diff --git a/sig/ffi_type.hpp b/sig/ffi_type.hpp index 813386a..a37e657 100644 --- a/sig/ffi_type.hpp +++ b/sig/ffi_type.hpp @@ -1,4 +1,4 @@ -/* Cycript - Remove Execution Server and Disassembler +/* Cycript - Inlining/Optimizing JavaScript Compiler * Copyright (C) 2009 Jay Freeman (saurik) */ @@ -40,8 +40,13 @@ #ifndef SIG_FFI_TYPE_H #define SIG_FFI_TYPE_H -#include +#include + +#ifdef HAVE_FFI_FFI_H +#include +#else #include +#endif #include "sig/types.hpp" @@ -60,6 +65,8 @@ void sig_ffi_cif( size_t offset = 0 ); +void Copy(apr_pool_t *pool, ffi_type &lhs, ffi_type &rhs); + } #endif/*SIG_FFI_TYPE_H*/