×

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:37 2025
md5 checksum c13a0a30a5efc8324e31b3773cd9c07a
arch x86_64
build py310h06a4308_0
depends python >=3.10,<3.11.0a0
license BSD-2-Clause
license_family BSD
md5 c13a0a30a5efc8324e31b3773cd9c07a
name ctypesgen
platform linux
sha1 09392e8c2a93a60a8feb83ef4bfd17f9e79b24b7
sha256 2fd8b2e156da77af78890c50692042463ed2d2ae097e5aa304204a3584ea992d
size 214021
subdir linux-64
timestamp 1691599362701
version 1.1.1