does not look into the code carefully yet, there’s an @enum
macro in julia. Or why do you care about whether it’s a struct or not if what you want is a singleton and does not care about strict typing, just OPRATION::UInt8 = opcode
, and use the opcode
1 Like