<div dir="ltr"><div dir="ltr">> In C, constructors/destructors usually become alloc/free functions. C<br>> has macros and code generation but these aren’t directly analogous to<br>> templates.<br></div><div dir="ltr"><br></div><div>The problem is that C++ doesn't let you get the address of constructors/destructors.</div><div>The only option might be to make a function that calls "new" and returns it, and same</div><div>with delete, but that would probably destroy the point of having the bindings internal</div><div>so I don't know what to do.</div></div>