lua-users home
lua-l archive

Re: First lua program from cpp

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


You need to initialize the Lua libraries here; otherwise, for example, the print() function won't be available.
 luaL_openlibs(ud);
Thanks Eric, it worked :)
	Lloyd
______________________________________
Scanned and protected by Email scanner

AltStyle によって変換されたページ (->オリジナル) /