diff options
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 73c3851..4657201 100644 --- a/apps/plugins/lua/rocklib.c +++ b/apps/plugins/lua/rocklib.c @@ -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. */ |