JSctypes

Revision as of 21:01, 15 August 2007 by Benjamin Smedberg (talk | contribs) (Yay for random indecision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

JSctypes: a foreign-function library for the SpiderMonkey JavaScript Engine

JSctypes is a foreign-function library for the SpiderMonkey JavaScript engine used by Mozilla. It provides C-compatible data types and allows JS code to call functions in shared libraries (DLLs) and implement callback functions. The interface and implementation are modeled on the Python ctypes module.

JSctypes can be used to provide pure-JavaScript wrappers for binary libraries.

JSctypes reference