bjorn 1 year ago
parent
commit
1d8af179a7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      guides/Plugins.md

+ 2 - 2
guides/Plugins.md

@@ -91,8 +91,8 @@ to have a Lua C function with a symbol named after the plugin:
 
 
     int luaopen_supermegaplugin(lua_State* L) {
     int luaopen_supermegaplugin(lua_State* L) {
       // This code gets run when the plugin is required,
       // This code gets run when the plugin is required,
-      // and anything it returns on the stack is used
-      // as the require's return value.
+      // and the value it leaves at the top of the stack
+      // is used as require's return value.
     }
     }
 
 
 All of [Lua's rules](https://www.lua.org/manual/5.1/manual.html#pdf-package.loaders) for native
 All of [Lua's rules](https://www.lua.org/manual/5.1/manual.html#pdf-package.loaders) for native