Commit graph

5 commits

Author SHA1 Message Date
King_DuckZ
1fa6d62f17 Add support for registering foreign methods that return foreign objects
Still a bit work in progress but functioning
2022-05-18 18:48:18 +02:00
King_DuckZ
816a8af654 Fix memory leak, improve code 2022-05-15 20:17:42 +02:00
King_DuckZ
692393285d Fix memory leaks 2022-05-15 19:19:56 +02:00
King_DuckZ
4d3dfce93f Improve and cleanup make_foreign_class()
No need to have two versions of this.
Static assert when users specify ambiguous overloads.
Currently overloads are discriminated only by
parameter count, not types, so we need to enforce this.
2022-05-15 17:01:57 +02:00
King_DuckZ
b8066a3f34 Add working example of constructor overloading 2022-05-15 16:03:29 +02:00