C to scripting languages wrapper generator, INitialy for binding C to LUA
Project description
Wrapper generator from C to scripting languages, currently supporting LuaJIT FFI only. It uses clang via c_api_extract for parsing and understanding C header files.
Installing
inclua is available on PyPI and may be installed using pip:
$ pip install inclua
Usage
On your shell:
$ inclua <input> [-m <module_name>] [-p <pattern>...] [-n <namespace>...] [-g] [-d <definitions_file> | --no-metatypes] [-- <clang_args>...]
Check out the help for more information on arguments:
$ inclua -h
It is recommended to pass -I <path to clang headers> to clang to correctly include some standard headers like stddef.h and stdbool.h.
Check out the examples folder for an example of usage.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file inclua-0.2.0.tar.gz
.
File metadata
- Download URL: inclua-0.2.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62aa46b0955eb6d2596c7df63e6962164d3b7c6dd523ccf1116198265a9e6252 |
|
MD5 | fdd212eea54e1158eebdfdd0c158050f |
|
BLAKE2b-256 | fcb7af40cc4911e1d0eb72b46555f29693192ca16fc5b2adc96002aa496c2c2b |
File details
Details for the file inclua-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: inclua-0.2.0-py3-none-any.whl
- Upload date:
- Size: 28.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc0c08def661f244ea94e85a0303352d9b9d4f00ab17a7a50cc8c30635e42f4 |
|
MD5 | f9bb6db80717b5053675b0c6c45e0272 |
|
BLAKE2b-256 | 86f1ee34aefbc409c2b50a387e55109442cf6d3f0709a7a8669e4f93db767983 |