[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: toLua : How do you add helper functions to the package file
- From: "RJP Computing" <rjpcomputing@...>
- Date: Fri, 3 Aug 2007 15:10:39 -0400
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