Re: C types build

Terrence Cole <[email protected]> Wed, 21 Sep 2016 10:12:12 -0700
Newsgroups gmane.comp.mozilla.devel.jseng
Message-ID <CADE9bc8ADEn3Ogck_gPe2XRN04Vc=ds_1X0BT6-SWYT=zp8HYg@mail.gmail.com>
js-ctypes is a mozilla-custom, poorly-supported extension to vanilla js
that supports loading and working directly with C/C++ dynamically linked
libraries / shared objects. There is documentation at [1]. I believe our
implementation was heavily influenced if not directly based on the existing
module in python [2].

Passing --enable-ctypes to the build system will cause this module to be
built. When built, the functions in [1] are available only from JS: I do
not believe it adds any public symbols to SpiderMonkey's C or C++ API
surfaces.

1- https://developer.mozilla.org/en-US/docs/Mozilla/js-ctypes
2- https://docs.python.org/3/library/ctypes.html

On Wed, Sep 21, 2016 at 5:49 AM, Mihai Dobrescu <[email protected]>
wrote:

> Hello,
>
> What means a C types build?
> What will be possible to achieve?
> Is it easier to integrate and embed SpiderMonkey for C/C++ APIs?
>
> Best Regards,
> Mike
> _______________________________________________
> dev-tech-js-engine mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-js-engine
>