diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-11-29 14:14:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-29 14:14:46 +0100 |
commit | 36547f400e332ecd6ac64b566b48a8701c3aa2f6 (patch) | |
tree | c15c763cf85196616fa11cca87bfd9e03220deed /doc/developer | |
parent | Merge pull request #14894 from louis-6wind/bestpath-heap (diff) | |
parent | lib: Update int and ll decoders with new MTYPE (diff) | |
download | frr-36547f400e332ecd6ac64b566b48a8701c3aa2f6.tar.xz frr-36547f400e332ecd6ac64b566b48a8701c3aa2f6.zip |
Merge pull request #9012 from dlqs/lua-poly
Refactor decoder for Lua hook system
Diffstat (limited to 'doc/developer')
-rw-r--r-- | doc/developer/scripting.rst | 6 |
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) \ |