hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

@:stackOnly still generates allocations

Open onehundredfeet opened this issue 1 year ago • 1 comments

Hi,

When I specify @:stackOnly on a class, it still allocates it inside the cpp file using the __alloc( HX_CTX for the class.

Is there anyway to FORCE the object to be created on the stack in c++?

Thanks, Ryan.

onehundredfeet avatar Apr 28 '23 22:04 onehundredfeet