4.7 – Handling Yields in C 4.7 – Handling Yields in C Internally, Lua uses the C longjmp facility to yield a coroutine. Therefore, if a C function foo calls an API function a...
2.1 – Values and Types 2.1 – Values and Types Lua is a dynamically typed language. This means that variables do not have types; only values do. There are no type definitions in...
4.4 – Error Handling in C 4.4.1 – Status Codes 4.4 – Error Handling in C Internally, Lua uses the C longjmp facility to handle errors. (Lua will use exceptions if you compile...
4.5 – Handling Yields in C 4.5 – Handling Yields in C Internally, Lua uses the C longjmp facility to yield a coroutine. Therefore, if a C function foo calls an API function a...
Introduction You are browsing documentation for an outdated version. See the latest documentation here . Introduction Before going further, it is necessary to briefly explai...
2.7 – Error Handling 2.7 – Error Handling Because Lua is an embedded extension language, all Lua actions start from C code in the host program calling a function from the Lua l...
File Structure Basic plugin modules Advanced plugin modules File Structure Note : This chapter assumes that you are familiar with Lua . Consider your plugin as a set of Lu...