wrenpp/examples/cpp_calls/meson.build
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

5 lines
86 B
Meson

executable('cpp_calls',
'main.cpp',
dependencies: wrenpp_dep,
install: false,
)