change size of @enum type to match C code, for ccall. also alters macro escaping to make enum type accessible and simplify implementation