Two more weeks of C99 to C89 conversion

During the last two weeks I almost completed the C99 to C89 conversion process.
This was a lot of work, but mostly routine. The only mentionable issue was to use PyAPI_FUNC correctly. Especially it wasn't obvious to me that building CPython on Windows requires the Py_BUILD_CORE preprocessor definition. This stuff is usually automated by configure script or setup.py. For JyNI I prefer to have a transparent toolchain configuration, at least at this stage.

As of this writing, the only pieces not yet ported are dynload_shlib and JyNI-loader. Both involve switching to dll loading mechanism and thus more thought. I.e. bridging POSIX and Windows dynamic loading machanisms in suitable crossplatform manner.
Getting this right and doing the linking phase is the next step on the agenda.

Comments

Popular posts from this blog

Final report: ctypes and NumPy work with JyNI on Windows

Major milestone achieved: JyNI builds successfully on Windows, DemoExtension is workable

The first two weeks of GSoC, or: Proud to release JyNI 2.7-alpha.4, featuring NumPy support.