X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/446d46d2a2b02075b5bbcfb64bf9c7cde8ee741a..d2f6e642b39b0bc356fbabc61d9cf27267b48d2f:/Internal.hpp diff --git a/Internal.hpp b/Internal.hpp index abb48ed..cf35708 100644 --- a/Internal.hpp +++ b/Internal.hpp @@ -73,8 +73,9 @@ struct Type_privateData : Type_privateData(sig::Type *type) : ffi_(NULL) { - if (type != NULL) - Set(type); + // XXX: just in case I messed up migrating + _assert(type != NULL); + Set(type); } Type_privateData(sig::Type *type, ffi_type *ffi) { @@ -189,6 +190,7 @@ struct Functor : } static JSStaticFunction const * const StaticFunctions; + static JSStaticValue const * const StaticValues; }; } struct Closure_privateData :