]> git.saurik.com Git - cycript.git/blobdiff - sig/ffi_type.cpp
Remove CYValue<> as it is no longer at all useful.
[cycript.git] / sig / ffi_type.cpp
index ab97f7a1b489f82ae8944e9d382ba311fcac91a4..e0c4d0f900bd41e73a873563c266ac02cb98540c 100644 (file)
@@ -171,9 +171,13 @@ ffi_type *Object::GetFFI(CYPool &pool) const {
 }
 #endif
 
+ffi_type *Enum::GetFFI(CYPool &pool) const {
+    return type.GetFFI(pool);
+}
+
 ffi_type *Aggregate::GetFFI(CYPool &pool) const {
-    // XXX: we can totally make overlap work
     _assert(!overlap);
+    _assert(signature.count != _not(size_t));
 
     ffi_type *ffi(new(pool) ffi_type());
     ffi->size = 0;