X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/446d46d2a2b02075b5bbcfb64bf9c7cde8ee741a..47f55bc70a0eef068c8a27ca0618a11c512dbf20:/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 :