Commit graph

8 commits

Author SHA1 Message Date
King_DuckZ
692393285d Fix memory leaks 2022-05-15 19:19:56 +02:00
King_DuckZ
258237cbf3 Implement ClassManager
Very similar to CallbackManager in its functioning.
2022-05-14 17:06:25 +02:00
King_DuckZ
c2089568f3 Bugfixes and improvements, simplify examples 2022-04-29 18:35:46 +02:00
King_DuckZ
31ba3af348 Update copyright year 2022-04-28 22:56:11 +02:00
King_DuckZ
6f4b0ce094 Pass string_view instead of const char* to callback functions 2022-04-28 22:55:22 +02:00
King_DuckZ
6a30725a62 Add arbitrary method to foreign_method_t conversion helper
It might not work in every case, you still are restricted
to types that set() and get() understand.
2020-05-03 12:23:06 +02:00
King_DuckZ
34d2317f11 Add support for foreign types to get()
wren::get() can now be used to get foreign types by pointer.
Invoking get<A>() will return an A*. With this change it's
now possible to use variables() to get mixed foreign
and core types.
2020-05-03 11:32:43 +02:00
King_DuckZ
90d93d2583 Add calendar example and supporting functions 2020-05-03 01:54:07 +02:00