summaryrefslogtreecommitdiff
path: root/doc/developer/scripting.rst
diff options
context:
space:
mode:
authorDonald Lee <dlqs@gmx.com>2021-07-26 23:35:17 +0800
committerDonald Lee <dlqs@gmx.com>2021-07-26 23:48:23 +0800
commit84c92002d25b7a498f9210356874dbe45a306e8a (patch)
treee47c55021079b95ce85fb864c555be52e72ea9d7 /doc/developer/scripting.rst
parent78f1ac25744f3db6d64570037066380f9b347abe (diff)
lib: formatting
Signed-off-by: Donald Lee <dlqs@gmx.com>
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;
};