]> git.saurik.com Git - cycript.git/blobdiff - Internal.hpp
Forgot earlier yy modification: CYTypeArrayOf type.
[cycript.git] / Internal.hpp
index c87c0ab633c9efe30a15dba7f1adf621615760d2..34ad2574517d9bee46510a26dcaf65acbab952db 100644 (file)
@@ -38,6 +38,8 @@ void Structor_(apr_pool_t *pool, sig::Type *&type);
 JSObjectRef CYMakeType(JSContextRef context, const char *type);
 JSObjectRef CYMakeType(JSContextRef context, sig::Type *type);
 
+extern JSClassRef Functor_;
+
 struct Type_privateData :
     CYData
 {
@@ -199,5 +201,6 @@ struct Closure_privateData :
 };
 
 Closure_privateData *CYMakeFunctor_(JSContextRef context, JSObjectRef function, const char *type, void (*callback)(ffi_cif *, void *, void **, void *));
+void CYExecuteClosure(ffi_cif *cif, void *result, void **arguments, void *arg, JSValueRef (*adapter)(JSContextRef, size_t, JSValueRef[], JSObjectRef));
 
 #endif/*CYCRIPT_INTERNAL_HPP*/