summaryrefslogtreecommitdiff
path: root/doc/developer/scripting.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/developer/scripting.rst')
-rw-r--r--doc/developer/scripting.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/developer/scripting.rst b/doc/developer/scripting.rst
index fa1c521fc6..7251bafb05 100644
--- a/doc/developer/scripting.rst
+++ b/doc/developer/scripting.rst
@@ -62,18 +62,18 @@ are respectively encapsulated in the following structures:
.. code-block:: c
struct frrscript {
- /* Lua file name */
- char *name;
+ /* Lua file name */
+ char *name;
- /* hash of lua_function_states */
- struct hash *lua_function_hash;
+ /* hash of lua_function_states */
+ struct hash *lua_function_hash;
};
struct lua_function_state {
- /* Lua function name */
- char *name;
+ /* Lua function name */
+ char *name;
- lua_State *L;
+ lua_State *L;
};