mascarenhas / alien

A C FFI for Lua
http://mascarenhas.github.com/alien/
143 stars 45 forks source link

Simplify the module structure #22

Closed rrthomas closed 12 years ago

rrthomas commented 12 years ago

Reorganise alien to use a single table for the module

Now that alien has only a single C module, use a simpler scheme, with an alien module (Lua part) and alien_c (C part).

This necessitates removing the module loading magic, which in any case is rather over-magical.

The build system is simplified as a result.

rrthomas commented 12 years ago

I've added a couple more commits to change the version number to something more realistic, and make the changes to the Windows Makefiles that the removal of libffi from the sources require.