diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-06-18 12:28:34 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2010-06-18 12:28:34 +0000 |
commit | d8cef9c0789427a1f5b0cac1a4601a96d9cf1c78 (patch) | |
tree | f6098aa02ee3319e3c0f08e42aff17ca5c5dc87d /apps/plugins/lua/rocklib.c | |
parent | 952d9bc0380f908e19d905fc475b8152a48b3982 (diff) | |
download | rockbox-d8cef9c0789427a1f5b0cac1a4601a96d9cf1c78.tar.gz rockbox-d8cef9c0789427a1f5b0cac1a4601a96d9cf1c78.zip |
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
Diffstat (limited to 'apps/plugins/lua/rocklib.c')
-rw-r--r-- | apps/plugins/lua/rocklib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/lua/rocklib.c b/apps/plugins/lua/rocklib.c index 73c3851bc1..46572014f0 100644 --- a/apps/plugins/lua/rocklib.c +++ b/apps/plugins/lua/rocklib.c | |||
@@ -38,6 +38,10 @@ | |||
38 | * a C function just pushes them onto the stack, in direct order (the first result is pushed first), | 38 | * a C function just pushes them onto the stack, in direct order (the first result is pushed first), |
39 | * and returns the number of results. Any other value in the stack below the results will be properly | 39 | * and returns the number of results. Any other value in the stack below the results will be properly |
40 | * discarded by Lua. Like a Lua function, a C function called by Lua can also return many results. | 40 | * discarded by Lua. Like a Lua function, a C function called by Lua can also return many results. |
41 | * | ||
42 | * When porting new functions, don't forget to check rocklib_aux.pl whether it automatically creates | ||
43 | * wrappers for the function and if so, add the function names to @forbidden_functions. This is to | ||
44 | * prevent namespace collisions and adding duplicate wrappers. | ||
41 | */ | 45 | */ |
42 | 46 | ||
43 | 47 | ||