Commit graph

6 commits

Author SHA1 Message Date
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
05298b6111 Add support for object parameters to Wren calls 2024-05-25 01:47:51 +02:00
b8066a3f34 Add working example of constructor overloading 2022-05-15 16:03:29 +02:00
90d93d2583 Add calendar example and supporting functions 2020-05-03 01:54:07 +02:00
65189a5575 Move files around
Sample main.cpp is now into examples/greet
2020-05-02 22:55:10 +02:00
a3c1199da9 Add a small dice rolling example game 2020-05-02 22:41:58 +02:00