Files
wren/include
Bob Nystrom 01ff51191b feat: add wrenReturnNull and wrenReturnString functions for FFI string and null support
Add two new public API functions to the Wren VM for foreign function interface
(FFI) return values. wrenReturnNull sets the foreign call slot to a null value,
while wrenReturnString copies the provided text into a new Wren heap string,
supporting both explicit length and strlen-based length calculation. Both
functions include assertions to ensure they are called within a valid foreign
call context.
2014-02-05 14:30:20 +00:00
..