CInvokeStructure internal code.
make __internal._cinvoke_structure(ctx)
: Class constructor.ctx
: CInvokeContext instanceadd_struct(name, type)
: Add structure type to structure definitionname
: Name of member.type
: Member's type.add_value(name, type)
: Add simple type to structure definitionname
: Name of member.type
: Member's type.destroy_instance(inst)
: Destroy instance of structure.inst
: Instance of structure to destroy.destruct()
: Free associated memory and resources.finish()
: Finish structure definition.get_instance_value(inst, name, type)
: Get value of given member.inst
: Instance to retrieve value from.name
: Name of member to retrieve.type
: Type of given member.new_instance()
: Create new instance of structure.set_instance_value(inst, name, value, type)
: Set value of given member.inst
: Instance to set value for.name
: Name of member to set.value
: Value to set to.type
: Type of given member.size()
: Get structure's size.