1 – Do I have a way to retrieve the offset of an attribute in the object structure from its getter/setter? that is, is there a workaround (dunno, maybe calling some attribute method) for some sort of long attribute_get_offset(t_object *attr)?
2 – According to the documentation, it appears that an attribute getter could receive non-NULL ac and *av, in which case memory has already been allocated for them. But how can I know how much memory it is? From the value of ac? And what happens if that memory is not enough? Can I resize it with sysmem_resizeptr()?