874
edits
(→Example Usage: added a "contributions" section w/ info on how to check out the project using SVN.) |
(Separated out a "technical notes and limitations" section.) |
||
| Line 43: | Line 43: | ||
} | } | ||
</pre> | </pre> | ||
{{Note|This functionality cannot be accessed from JavaScript used in web content. Only JavaScript that runs with chrome privileges (extensions and Firefox UI for example) can use js-ctypes.}} | |||
== Technical Notes and Limitations == | |||
The js-ctypes code uses the same [http://sourceware.org/libffi/ libffi] library as the Python ctypes module. It is currently known to work on Windows and Linux. We need to start the Mac implementation. We also need to add support for struct and more primitive types. | The js-ctypes code uses the same [http://sourceware.org/libffi/ libffi] library as the Python ctypes module. It is currently known to work on Windows and Linux. We need to start the Mac implementation. We also need to add support for struct and more primitive types. | ||
== Contributing == | == Contributing == | ||
edits