| 63172bf6 | 02-Nov-2019 |
Kyle Evans <[email protected]> |
liblua: add loader.lua_path
As described previously, loader.lua_path is absolute path where scripts are installed. A future commit will use this to build paths for dofile in try_include, rather than
liblua: add loader.lua_path
As described previously, loader.lua_path is absolute path where scripts are installed. A future commit will use this to build paths for dofile in try_include, rather than the current pcall/require setup that makes it more difficult to coordinate loader aborts from local.lua -- we do not need the flexibility of require(), and local.lua is in-fact not a 'module-like' file as we will not be referencing anything from it.
show more ...
|
| a16664ce | 02-Mar-2018 |
Kyle Evans <[email protected]> |
liblua: Use putc instead of printf for printc
printc does not need the features or the overhead of printf. It does not take formatting strings, and it pipes the single string argument through an "%s
liblua: Use putc instead of printf for printc
printc does not need the features or the overhead of printf. It does not take formatting strings, and it pipes the single string argument through an "%s" format.
Instead, use putc directly. This pipes the string through in its entirety as a series of 'unsigned char's, generally straight to the console emulator.
Discussed with: tsoome
show more ...
|