◆ __init__()
__init__ |
( |
| self, |
|
|
* | args ) |
Create a function argument, with the specified name and type.
This constructor has the following signatures:
1. funcarg_t(name: str, type, argloc: argloc_t)
2. funcarg_t(funcarg: funcarg_t)
In the 1st form, the 'type' descriptor, can be one of:
* type_t: if the type is simple (integral/floating/bool). E.g., `BTF_INT`
* tinfo_t: can handle more complex types (structures, pointers, arrays, ...)
* str: a C type declaration
If an input argument is incorrect, the constructor may raise an exception
@param name a valid argument name. May not be empty (1st form).
@param type the member type (1st form).
@param argloc the argument location. Can be empty (1st form).
@param funcarg a funcarg_t to copy
◆ __eq__()
◆ __ne__()
◆ argloc
Initial value:= property(_ida_typeinf.funcarg_t_argloc_get,
_ida_typeinf.funcarg_t_argloc_set)
◆ cmt
Initial value:= property(_ida_typeinf.funcarg_t_cmt_get, _ida_typeinf.
funcarg_t_cmt_set)
◆ flags
Initial value:= property(_ida_typeinf.funcarg_t_flags_get,
_ida_typeinf.funcarg_t_flags_set)
◆ name
Initial value:= property(_ida_typeinf.funcarg_t_name_get,
_ida_typeinf.funcarg_t_name_set)
◆ type
Initial value:= property(_ida_typeinf.funcarg_t_type_get,
_ida_typeinf.funcarg_t_type_set)
◆ thisown
Initial value:= property(lambda x: x.this.own(), lambda x, v: x.this.own(v),
doc='The membership flag')
The documentation for this class was generated from the following file: