lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

King, Mike wrote:
Both DLLs from LuaBinaries and Lua with Batteries export functions without the underscore prefix.  When I build the DLL using C++Builder 2009, all of the exported functions have the underscore prefix.  What am I missing?

With C++ Builder 5, in order to get rid of the underscore prefix, I add a .def file like that:


  luaopen_mylib = _luaopen_mylib