[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: 5.2 luaL_execresult and luaL_fileresult
- From: liam mail <liam.list@...>
- Date: Sun, 26 Jun 2011 10:53:44 +0100
Maybe I am missing something yet both of these functions seems to be lacking any sort of meaningful documentation which explains the purpose and usage of them.
Looking at the documentation that is written for these two functions makes them sound like they are actually internal functions for which I do not see the purpose of them. ie why would the C API have functions to generate return values for Lua calls and how would you use them?
I really do not know so any enlightenment would be gratefully received.
This function produces the return values for file-related functions in the standard library (io.open, os.rename, file:seek, etc.).
This function produces the return values for process-related functions in the standard library (os.execute and io.close).