JSctypes: Difference between revisions

201 bytes added ,  16 August 2007
Import instructions
(Make TOC more sane, before writing)
(Import instructions)
Line 7: Line 7:
== JSctypes reference ==
== JSctypes reference ==


* [[JSctypes/reference/Utility functions|Utility functions]]
To import JSctypes into a chrome script or JS component:
 
<pre>Components.utils.import("resource://jsctypes/jsctypes.js");</pre>
 
This will import a single JSCtypes object into your script namespace.
 
* [[JSctypes/reference/Libraries|Finding and loading shared libraries]]
* [[JSctypes/reference/Libraries|Finding and loading shared libraries]]
* [[JSctypes/reference/Types|Data types]]
* [[JSctypes/reference/Types|Data types]]
Line 18: Line 23:
** Prototyped functions
** Prototyped functions
** Implementing Callback Functions
** Implementing Callback Functions
* [[JSctypes/reference/Utility functions|Utility functions]]
Confirmed users, Bureaucrats and Sysops emeriti
1,217

edits