{"id":16209182,"url":"https://github.com/gilzoide/inclua","last_synced_at":"2025-06-25T15:09:34.160Z","repository":{"id":65390701,"uuid":"74687420","full_name":"gilzoide/inclua","owner":"gilzoide","description":"C to scripting languages wrapper generator, INitialy for binding C to LUA","archived":false,"fork":false,"pushed_at":"2021-06-15T18:12:36.000Z","size":361,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-11T06:57:51.460Z","etag":null,"topics":["binding-generator"],"latest_commit_sha":null,"homepage":"","language":"Mako","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gilzoide.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-24T15:59:17.000Z","updated_at":"2025-03-30T15:13:03.000Z","dependencies_parsed_at":"2023-01-21T23:16:18.684Z","dependency_job_id":null,"html_url":"https://github.com/gilzoide/inclua","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gilzoide/inclua","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Finclua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Finclua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Finclua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Finclua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilzoide","download_url":"https://codeload.github.com/gilzoide/inclua/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Finclua/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261897034,"owners_count":23226651,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["binding-generator"],"created_at":"2024-10-10T10:28:24.689Z","updated_at":"2025-06-25T15:09:34.130Z","avatar_url":"https://github.com/gilzoide.png","language":"Mako","funding_links":[],"categories":[],"sub_categories":[],"readme":"Inclua\n======\nWrapper generator from C to scripting languages, currently supporting LuaJIT_ FFI only.\nIt uses clang_ via c_api_extract_ for parsing and understanding C header files.\n\nBy deafult generates metatypes_ for struct and union definitions and deduces ``__gc``\nand other methods from C functions names and parameters, included in the ``__index`` table.\n**inclua** also supports adding native Lua definitions for any metamethods and other definitions\nfor metatypes, reading them verbatim from a YAML or JSON file.\n\n.. _LuaJIT: https://luajit.org/\n.. _clang: https://pypi.org/project/clang/\n.. _c_api_extract: https://github.com/gilzoide/c_api_extract-py\n.. _metatypes: https://luajit.org/ext_ffi_api.html#ffi_metatype\n\n\nInstalling\n----------\n**inclua** is available on PyPI_ and may be installed using ``pip``::\n\n  $ pip install inclua\n\n.. _PyPI: https://pypi.org/project/inclua/\n\n\nUsage\n-----\nOn your shell::\n\n    $ inclua \u003cinput\u003e [-i \u003cpattern\u003e...] [-n \u003cnamespace\u003e...] [options] [-- \u003cclang_args\u003e...]\n\nCheck out the help for more information on arguments::\n\n    $ inclua -h\n\n\nCheck out the ``examples`` folder and csfml-luajit_ for examples of usage.\n\n.. _csfml-luajit: https://github.com/gilzoide/csfml-luajit\n\n\nTODO\n----\n- Try matching both typedef and struct|union name when searching for methods\n- Add support for generating Lua C bindings\n- Add more examples and document additional definitions input format\n- Test on Windows\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Finclua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilzoide%2Finclua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Finclua/lists"}