Skip to content
Snippets Groups Projects
Commit b3fb883b authored by Andrey Saranchin's avatar Andrey Saranchin Committed by Vladimir Davydov
Browse files

iproto: export IPROTO constants to Lua automatically

Currently, to export IPROTO constants to Lua, we define a translation
table in C manually. As a result, some constants are forgotten and some
are exported with mistakes.

Fortunately, we have a mechanism to generate enums and its stringified
names in compile-time. Let's rewrite iproto constants using such mechanism
and generate translation table automatically.

Closes #8443
Closes #8574
Closes #8577

NO_DOC=bugfix
parent 82474b46
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment