瀏覽代碼

app_lua: docs - more examples for lua_run()

Daniel-Constantin Mierla 7 年之前
父節點
當前提交
7788aa4b39
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/modules/app_lua/doc/app_lua_admin.xml

+ 4 - 4
src/modules/app_lua/doc/app_lua_admin.xml

@@ -351,10 +351,10 @@ if(!lua_run("sr_append_fu_to_reply")) {
     xdbg("SCRIPT: failed to execute lua function!\n");
 }
 ...
-lua_run("lua_funcx0");
-lua_run("lua_funcx1", "$rU");
-lua_run("lua_funcx2", "$rU", "2");
-lua_run("lua_funcx3", "$rU", "2", "$si");
+lua_run("lua_func0");
+lua_run("lua_func1", "$rU");
+lua_run("lua_func2", "$rU", "2");
+lua_run("lua_func3", "$rU", "2", "$si");
 ...
 </programlisting>
 	    </example>