Merge pull request #7297 from emmanuel-ferdman/wip

docs: update the reference implementation source
This commit is contained in:
Florian Eckert 2024-09-30 08:29:21 +02:00 committed by GitHub
commit 8559119eee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -143,7 +143,7 @@ uint32_t sfh_hash(const char * data, int len)
## Reference Implementation
A reference implementation can be found here:
https://github.com/openwrt/luci/blob/master/modules/luci-base/src/template_lmo.c
https://github.com/openwrt/luci/blob/master/modules/luci-lua-runtime/src/template_lmo.c
The `po2lmo.c` executable implements a `*.po` to `*.lmo` conversation utility.
Lua bindings for lmo are defined in `template_lualib.c` and associated headers.