get_instance_private_offset


Description:

[ Version ( since = "2.38" ) ]
public int get_instance_private_offset ()

Gets the offset of the private data for instances of this.

This is how many bytes you should add to the instance pointer of a class in order to get the private data for the type represented by this.

You can only call this function after you have registered a private data area for this using add_private.

Parameters:

this

a TypeClass

Returns:

the offset, in bytes