|
Having started this one off... My preference is for the simple LUA_API_FUNCTION macro, and no extern "C". As others have said, it is sensible to wrap the actual #include "lua.h" in another header, not least because this gives a sensible place to put the required definition of LUA_API_FUNCTION. Thanks Mike