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

Method create

include/hx/ObjcHelpers.h:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80{
81 typedef Ret (^t)(Arg0 a);
82 inline static t create(Dynamic func)
83 {
84 NSHaxeWrapperClass *wrapper = [[NSHaxeWrapperClass alloc] init:func.mPtr];
85 t wrap = ^(Arg0 a0) {
86 return (Ret) wrapper->haxeObject->__Run(Array_obj<Dynamic>::__new(1)->init(0, a0));
87 } ;
88 }
89};
90
91

Callers

nothing calls this directly

Calls 3

__newFunction · 0.85
__RunMethod · 0.45
initMethod · 0.45

Tested by

no test coverage detected