| 126 | |
| 127 | template<typename ENUM> |
| 128 | ENUM *CreateEnum(const String &inName,int inIndex, int inFields) |
| 129 | { |
| 130 | ENUM *result = new (inFields*sizeof(cpp::Variant)) ENUM; |
| 131 | result->_hx_setIdentity(inName,inIndex,inFields); |
| 132 | return result; |
| 133 | } |
| 134 | |
| 135 | template<typename ENUM> |
| 136 | ENUM *CreateConstEnum(const String &inName,int inIndex) |
nothing calls this directly
no outgoing calls
no test coverage detected