lua-users home
lua-l archive

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


I've just been reading Roberto's pdf book to learn about lua. In it he has an example (page 145) to load and run a script using lua_dofile. I created a similar "Hello World" example including the lua.h and lualib.h headers, but in the zip file I downloaded (lua 5.0) these headers do not contain the lua_dofile prototype. It is contained in the lauxlib.h header.
 
Is this an error in the pdf document?