(type_index, alias_type_index uint32)
| 282 | } |
| 283 | |
| 284 | func RegisterAliasType(type_index, alias_type_index uint32) IArgType { |
| 285 | if at, dup := arg_types[type_index]; dup { |
| 286 | panic(fmt.Sprintf("duplicate register for ArgType name=%s index=%d", at.GetName(), at.GetTypeIndex())) |
| 287 | } |
| 288 | p := GetArgType(alias_type_index) |
| 289 | arg_types[type_index] = p |
| 290 | return p |
| 291 | } |
no test coverage detected