Next: 5.1 Executing Lua Code Up: Reference Manual of the Previous: 4.8 Error Handling

5 The Application Program Interface

This section describes the API for Lua, that is, the set of C functions available to the host program to communicate with the library. The API functions can be classified in the following categories:

  1. executing Lua code;
  2. converting values between C and Lua;
  3. manipulating (reading and writing) Lua objects;
  4. calling Lua functions;
  5. C functions to be called by Lua;
  6. locking Lua Objects.
All API functions are declared in the file lua.h.


Next: 5.1 Executing Lua Code Up: Reference Manual of the Previous: 4.8 Error Handling