Custom data type definition. All data types should inherit from this
class.
|
|
__init__(self,
name,
value_size=0,
menu_name=None,
hotkey=None,
asm_keyword=None,
props=0)
Please refer to bytes.hpp / data_type_t in the SDK |
|
|
|
|
register(self)
Registers the data type and returns the type id or < 0 on failure |
|
|
|
|
unregister(self)
Unregisters the data type and returns True on success |
|
|
|
|
may_create_at(self,
ea,
nbytes)
(optional) If this callback is not defined then this means always may
create data type at the given ea. |
|
|
|
|
calc_item_size(self,
ea,
maxsize)
(optional) If this callback is defined it means variable size datatype... |
|
|
|
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|