×

ctypesgen reads parses c header files and creates a wrapper for libraries based on what it finds. Preprocessor macros are handled in a manner consistent with typical c code. Preprocessor macro functions are translated into Python functions that are then made available to the user of the newly-generated Python wrapper library. ctypesgen can also output JSON, which can be used with Mork, which generates bindings for Lua, using the alien module (which binds libffi to Lua).

Uploaded Mon Mar 31 21:12:38 2025
md5 checksum 8050c98e60979d25d456ac6b2c44570d
arch x86_64
build py312h06a4308_0
depends python >=3.12,<3.13.0a0
license BSD-2-Clause
license_family BSD
md5 8050c98e60979d25d456ac6b2c44570d
name ctypesgen
platform linux
sha1 29a5cb8f37baa9b649d14212746c8c2701980a36
sha256 4008528654fea9c66255939537971200f6fa15913a05fb96efe097f68eabf2ab
size 255589
subdir linux-64
timestamp 1698883810126
version 1.1.1