Destruct reflected variables

The following functions allow for destructing a reflected variable.


void DestructReflectedVariable(ReflectionByteCode rbc, void* data)

Destruct the variable of type 'rbc' at address 'data'


void DestructReflectedArrayVariable(ReflectionByteCode rbc, ssize_t size, void* data)

Destruct the array variable with 'size' elements of type 'rbc' at address 'data'


void DestructReflectedVectorVariable(ReflectionByteCode rbc, void* data)

Destruct the xvector<T> variable with element type 'rbc' at address 'data'


void DestructReflectedClassVariable(const ReflectedClass& rc, void* data)

Destruct the class variable of type 'rc' at address 'data'


void DestructReflectedVariantVariable(const ReflectedVariant& rv, void* data)

Destruct the variant variable of type 'rv' at address 'data'