|
@@ -21,6 +21,7 @@
|
|
*/
|
|
*/
|
|
package cpp;
|
|
package cpp;
|
|
|
|
|
|
|
|
+@:callable
|
|
typedef FunctionData<T,ABI> = T;
|
|
typedef FunctionData<T,ABI> = T;
|
|
|
|
|
|
|
|
|
|
@@ -30,8 +31,8 @@ extern abstract Function<T, ABI:cpp.abi.Abi>( FunctionData<T,ABI> )
|
|
inline public function new(inValue:T) this = inValue;
|
|
inline public function new(inValue:T) this = inValue;
|
|
|
|
|
|
// Legacy Api
|
|
// Legacy Api
|
|
- public var call(get,never):T;
|
|
|
|
- inline function get_call():T return this;
|
|
|
|
|
|
+ public var call(get,never):FunctionData<T,ABI>;
|
|
|
|
+ inline function get_call():FunctionData<T,ABI> return this;
|
|
|
|
|
|
|
|
|
|
@:native("::cpp::Function_obj::getProcAddress")
|
|
@:native("::cpp::Function_obj::getProcAddress")
|