mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Lua: document rocklib_aux.pl a bit, so it's easier to find out about it when stumbling over a CC error in rocklib_aux.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26912 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
952d9bc038
commit
d8cef9c078
2 changed files with 18 additions and 1 deletions
|
@ -38,6 +38,10 @@
|
|||
* a C function just pushes them onto the stack, in direct order (the first result is pushed first),
|
||||
* and returns the number of results. Any other value in the stack below the results will be properly
|
||||
* discarded by Lua. Like a Lua function, a C function called by Lua can also return many results.
|
||||
*
|
||||
* When porting new functions, don't forget to check rocklib_aux.pl whether it automatically creates
|
||||
* wrappers for the function and if so, add the function names to @forbidden_functions. This is to
|
||||
* prevent namespace collisions and adding duplicate wrappers.
|
||||
*/
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue