lua-users home
lua-l archive

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


How do you add helper functions only needed in the bindings in the package files? Do I create a "helper" header file and '$#include' it? Is there any feature so I can just write it in the package file?

Here is a quick explaination of my problem; I have a macro that I need to wrap it in Lua and I am trying to use toLua to create the bindings. Any help would be appreciated.

Here is an example of the macro call done in C++:
LEVEL is an enum
MESSAGE is a const char*

LIB_LOG( LEVEL, MESSAGE )
--
Regards,
Ryan
RJP Computing