Skip to main content

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

inclua-0.2.0.tar.gz (14.6 kB view hashes)

Uploaded Source

Built Distribution

inclua-0.2.0-py3-none-any.whl (28.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page