aboutsummaryrefslogtreecommitdiff
path: root/cmake/toolchains/MinGW-w64-x64.cmake
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2024-11-07 08:57:28 +0100
committerPřemysl Eric Janouch <p@janouch.name>2024-11-07 11:01:41 +0100
commitaacf1b1d47824de2c924874e3d6cdad1d8b5ba2b (patch)
treee76dade58f3853ec96a751b3c45ca22a23274503 /cmake/toolchains/MinGW-w64-x64.cmake
parent49d7cb12bb2f47216528ea6d6f58869e0cf12a2e (diff)
downloadliberty-aacf1b1d47824de2c924874e3d6cdad1d8b5ba2b.tar.gz
liberty-aacf1b1d47824de2c924874e3d6cdad1d8b5ba2b.tar.xz
liberty-aacf1b1d47824de2c924874e3d6cdad1d8b5ba2b.zip
lxdrgen-go: improve usability
Turning union tags into read-only methods of actual types: - eliminates duplicated JSON unmarshalling of tags, - makes AppendTo/ConsumeFrom symmetrical in nature, - eliminates duplicated AppendTo code, - eliminates trivial AppendTo methods for subtypes without fields, - gives us an opportunity to use a more specific interface than "any" (the type being anonymous is an acknowledged inconvenience). Implementing our own json.Marshalers some time ago (for performance reasons) has made this easier to implement. Also rename "Interface" fields to more suitable "Variant".
Diffstat (limited to 'cmake/toolchains/MinGW-w64-x64.cmake')
0 files changed, 0 insertions, 0 deletions