type_ = signature.elements[0].type;
}
+ Type_privateData(sig::Primitive primitive) :
+ ffi_(NULL)
+ {
+ sig::Type type;
+ memset(&type, 0, sizeof(type));
+ type.primitive = primitive;
+ Set(&type);
+ }
+
Type_privateData(sig::Type *type) :
ffi_(NULL)
{
CYPool &pool(CYGetGlobalPool());
- Object_type = new(pool) Type_privateData("@");
- Selector_type = new(pool) Type_privateData(":");
+ Object_type = new(pool) Type_privateData(sig::object_P);
+ Selector_type = new(pool) Type_privateData(sig::selector_P);
NSArray_ = objc_getClass("NSArray");
NSBlock_ = objc_getClass("NSBlock");