Destruction is the same as in the bindings generator - you need to call
destroy() if you want to delete a C++ object yourself.

Yes, this deprecates the bindings generator (some of the worst code I ever
wrote, please don't look at it).

- Alon



On Wed, Apr 23, 2014 at 10:51 PM, Chad Austin <[email protected]> wrote:

> Cool stuff.  How does object destruction work?  I see the "TODO" on the
> wiki -- is that a documentation TODO or an implementation TODO?
>
> Does this deprecate the old bindings generator?
>
>
>
>
>
>
>
> On Wed, Apr 23, 2014 at 6:02 PM, Alon Zakai <[email protected]> wrote:
>
>> There is a new tool for gluing together C++ and JS, the WebIDL binder,
>>
>> https://github.com/kripken/emscripten/wiki/WebIDL-Binder
>>
>> Details are in that link.
>>
>> I've been testing the tool on ammo.js (port of bullet), along with a
>> major update of ammo to latest upstream bullet and latest emscripten. See
>> an update here
>>
>> https://github.com/kripken/ammo.js/issues/60
>>
>> In particular, we need help from people using ammo.js to test the new
>> build and add the interfaces they want to be bound, as the new bindings
>> generator requires an IDL file to declare what is actually bound (see
>> details in that link, and the previous one). Basically, the new approach
>> will lead to smaller and faster builds, but the IDL files need to be
>> written; the current file has everything needed for the ammo test suite and
>> the WebGL demo.
>>
>> - Alon
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "emscripten-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Chad Austin
> Technical Director, IMVU
> http://engineering.imvu.com <http://www.imvu.com/members/Chad/>
> http://chadaustin.me
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to