hxcpp icon indicating copy to clipboard operation
hxcpp copied to clipboard

Fix cpp.Pointer.ofArray with empty arrays

Open tobil4sk opened this issue 2 months ago • 0 comments

array[0] had a side effect of extending an empty array to size 1. Now, the pointer is retrieved directly without the [] access which prevents the array being extended.

Fixes #1028.

tobil4sk avatar Oct 19 '25 19:10 tobil4sk