wrenpp/examples
King_DuckZ 2c99251b27 Add support for returning a pre-existing foreign object from a foreign method
This is potentially subject to change in the near
future. This commit adds support for returning
an instance (currently wrapped in ForeignObject<>)
of a foreign object that is already instantiated.
The object returned this way simply gets selected
by handle into slot 0 of C Wren.
Conversely, returning just a naked object causes
wrenpp to make a Wren-accessible copy of it.
2024-05-28 08:25:19 +02:00
..
calendar Add support for returning a pre-existing foreign object from a foreign method 2024-05-28 08:25:19 +02:00
cpp_calls Add support for returning a pre-existing foreign object from a foreign method 2024-05-28 08:25:19 +02:00
dieroll Refactor so that make_method_bindable also accepts free functions now 2022-05-19 19:22:20 +02:00
greet Add support for object parameters to Wren calls 2024-05-25 01:47:51 +02:00
math_vector Fix build when std::string is a lone parameter 2024-05-24 17:12:04 +02:00
meson.build Add support for returning a pre-existing foreign object from a foreign method 2024-05-28 08:25:19 +02:00