ponder icon indicating copy to clipboard operation
ponder copied to clipboard

Add destructor function to user object holders

Open billyquith opened this issue 9 years ago • 1 comments

Currently UserObjects have to be manually destructed. Since they have shared_ptrs referencing the holders we should be able to automate this.

This could also be used for placement new, where destruct must be called instead of destroy.

Added experimented unique_ptr for UserObjects.

billyquith avatar Sep 05 '16 17:09 billyquith

Lua binder has __gc support now and objects are garbage collected properly.

billyquith avatar Nov 12 '20 13:11 billyquith