Fix typos in docs and comments
This commit is contained in:
parent
b5544a1812
commit
b127e11f1e
27 changed files with 46 additions and 46 deletions
|
|
@ -17,7 +17,7 @@ note: it should be passed by value, not byref or as a pointer.
|
|||
|
||||
The SWIGLUA_FN holds a pointer to the lua_State, and the stack index where the function is held.
|
||||
The macro SWIGLUA_FN_GET() will put a copy of the lua function at the top of the stack.
|
||||
After that its fairly simple to write the rest of the code (assuming know how to use lua),
|
||||
After that it's fairly simple to write the rest of the code (assuming know how to use lua),
|
||||
just push the parameters, call the function and return the result.
|
||||
|
||||
int my_func(int a, int b, SWIGLUA_FN fn)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue