hxcpp
hxcpp copied to clipboard
Fix cpp.Pointer.ofArray with empty arrays
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.