/pygccjit

Python bindings for libgccjit.so

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Python bindings for libgccjit.so (using Cython)

Tested with Python 2.7 and 3.2

GPLv3 or later.

JIT-compiled functions are wrapped up as ctypes callables.

Caveats

  • Most of the API is wrapped, but not all.

  • Currently the ctypes hack forces all functions to be of type:

    int foo(int);