https://github.com/luzfcb/ctypesgen
my fork of https://code.google.com/p/ctypesgen/
https://github.com/luzfcb/ctypesgen
Last synced: 8 months ago
JSON representation
my fork of https://code.google.com/p/ctypesgen/
- Host: GitHub
- URL: https://github.com/luzfcb/ctypesgen
- Owner: luzfcb
- License: bsd-3-clause
- Created: 2015-01-08T21:03:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-08T21:15:52.000Z (almost 11 years ago)
- Last Synced: 2025-03-16T15:12:20.211Z (8 months ago)
- Language: Python
- Size: 215 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
ctypesgen
---------
(c) Ctypesgen developers 2007-2011
http://code.google.com/p/ctypesgen/
ctypesgen is a pure-python ctypes wrapper generator. It can also
output JSON, which can be used with Mork, which generates bindings for
Lua, using the alien module (which binds libffi to Lua).
ctypesgen is distributed under the New (2-clause) BSD License:
http://www.opensource.org/licenses/bsd-license.php
libffi is a portable Foreign Function Interface library:
http://sources.redhat.com/libffi/
Mork, the friendly alien, can be found at:
https://github.com/rrthomas/mork
Usage
-----
To get JSON output, use --output-language=json. When outputting JSON,
you will probably want to use --all-headers --builtin-symbols
--no-stddef-types --no-gnu-types --no-python-types too.