(cls, name, vartype)
return libobjc.class_addIvar(
        cls, ensure_bytes(name), sizeof(vartype),
        alignment(vartype), encoding_for_ctype(ctype_for_type(vartype))
    )
Add a new instance variable of type vartype to cls.
Add a new instance variable of type vartype to cls.
Add a new instance variable of type vartype to cls .
def add_ivar(cls, name, vartype):
    """Add a new instance variable of type vartype to cls."""

    return libobjc.class_addIvar(
        cls, ensure_bytes(name), sizeof(vartype),
        alignment(vartype), encoding_for_ctype(ctype_for_type(vartype))
    )
def add_ivar ( cls , name , vartype ) : return libobjc . class_addIvar ( cls , ensure_bytes ( name ) , sizeof ( vartype ) , alignment ( vartype ) , encoding_for_ctype ( ctype_for_type ( vartype ) ) )