[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: binding a c++ unary_function to lua
- From: "Panagiotis Vossos" <pavossos@...>
- Date: Mon, 7 Jan 2008 09:51:15 +0200
While experimenting with stl binders yesterday, I had the following
problem. Let's say we have a
derived from std::unary_function c++ struct with the method:
int operator()(lua_State *L) const { ... }.
Is there any easy way to make it available to lua as a normal function?
thanks in advance,
panagiotis.