summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDonald Lee <dlqs@gmx.com>2021-07-08 22:47:17 +0200
committerQuentin Young <qlyoung@qlyoung.net>2023-11-21 02:45:02 +0100
commit5042b8e6beb9ff0b9f4a75fcf924c4d46b095bf2 (patch)
tree54c4cfd2dc6bfd07c4c9059e77a78eb0795eeb08
parentlib: Create encoders for int and rename stuff (diff)
downloadfrr-5042b8e6beb9ff0b9f4a75fcf924c4d46b095bf2.tar.xz
frr-5042b8e6beb9ff0b9f4a75fcf924c4d46b095bf2.zip
doc: Remove mention of const noop decoder
Now handled by _lua_noop Signed-off-by: Donald Lee <dlqs@gmx.com>
-rw-r--r--doc/developer/scripting.rst6
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/developer/scripting.rst b/doc/developer/scripting.rst
index 202f0036f..7a4331449 100644
--- a/doc/developer/scripting.rst
+++ b/doc/developer/scripting.rst
@@ -488,12 +488,6 @@ match *exactly*.
In the above example, we defined encoders/decoders for a value of
``struct prefix *``, but not ``struct prefix`` or ``const struct prefix *``.
-``const`` values are a special case. We want to use them in our Lua scripts
-but not modify them, so creating a decoder for them would be meaningless.
-But we still need a decoder for the type of value so that the compiler will be
-satisfied.
-For that, use ``lua_decode_noop``:
-
.. code-block:: diff
#define DECODE_ARGS_WITH_STATE(L, value) \