Skip to content

feature(hlua-derive): Add support for unit structs

Alexey Protsenko requested to merge feature/derive-unit-structs into master

Unit structs are only supported as enum variants (not standalone). When pushed their name is converted into a lowercased string (enum E { FooBar } => "foobar") When read the name is case insesitive ("FooBar", "foobar", "FOOBAR" will all be read as E::FooBar)

Merge request reports