]> git.saurik.com Git - cycript.git/blobdiff - Internal.hpp
Do not ever use NULL type_s, even for ? encoding.
[cycript.git] / Internal.hpp
index abb48eda52198f30a74e394ed674bc599063c341..7c278b4afc1851a1b04f811872bbd212352a2af7 100644 (file)
@@ -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) {