JSGlobalContextRef CYGetJSContext(JSContextRef context);
void Structor_(CYPool &pool, sig::Type *&type);
-JSObjectRef CYMakeType(JSContextRef context, const char *type);
JSObjectRef CYMakeType(JSContextRef context, sig::Type *type);
extern JSClassRef Functor_;
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)
{