112
113
-- Override marshallers for enums and bitmaps, marshal them as strings
113
114
-- or sets of string flags.
114
115
for name, gtype in pairs { ENUM = Type.ENUM, FLAGS = Type.FLAGS } do
117
119
value_marshallers[gtype] = function(value, params, ...)
119
121
if select('#', ...) > 0 then