Expressions
Opened this issue · 0 comments
Aurel300 commented
Perhaps as an alternative/replacement for ammer.ffi.SizeOf
, ammer.ffi.SizeOfReturn
, etc:
public static function foobar():Bytes {
var size = 0;
var ptr = nativeCall(/* passed by reference? */ size);
return ammer.Native.bytes(ptr, size);
}