MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / create

Method create

include/hx/ObjcHelpers.h:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 typedef void (^t)(Arg0 a);
67
68 static t create(Dynamic func)
69 {
70 NSHaxeWrapperClass *wrapper = [[NSHaxeWrapperClass alloc] init:func.mPtr];
71 t wrap = ^(Arg0 a0) {
72 wrapper->haxeObject->__Run(Array_obj<Dynamic>::__new(1)->init(0, a0));
73 };
74 return wrap;
75 }
76};
77
78template<typename Ret, typename Arg0>

Callers

nothing calls this directly

Calls 3

__newFunction · 0.85
__RunMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected