]> source.dussan.org Git - rspamd.git/commit
[Project] Allow manipulations with opaque UCL objects
authorVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 13 Aug 2024 13:03:04 +0000 (14:03 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Tue, 13 Aug 2024 13:03:04 +0000 (14:03 +0100)
commit9e87597ceb05fbbe0f8bc33af057a1aca86cb10a
tree3430321a3cbdbcaf2fef20913605e7dc7ef2816a
parent7a94c375be320b2897277cbbf9fb6a73d9c44f3c
[Project] Allow manipulations with opaque UCL objects

If we export an UCL object to Lua we actually lose a lot of useful
properties of UCL. For example, we miss ordering, comments, implicit
arrays etc.

This PR is intended to allow manipulation with UCL object like plain
userdata, without unwrapping them to the Lua primitives.
contrib/libucl/lua_ucl.c