lua-users home
lua-l archive

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


 This isn't a common issue, but stumped me for about 10 minutes.
lua_pushcfunction macro fails with template functions with more than one
template argument in VC++ .Net 2003 (because the extra comma).  The normal
parenthesis fix solves it...

  #define lua_pushcfunction(L,f)	lua_pushcclosure(L, (f), 0)

 This is probably a low priority issue, but should probably be addressed
someday.

  Tom Spilman
  Co-owner | Programmer
  www.sickheadgames.com