B
Bae,Hyun-jik
Is member variable alignment in __gc class same to that of __nogc class?
For example, does this code below make problems?(Please ignore other errors
such as wrong grammar ,etc.)
Please reply. Thanks in advance.
Regards,
Hyun-jik Bae
--------------
public __gc class Vector3
{
int x,y,z;
void CopyFromPtr();
}
Foo()
{
int data[3];
FillSomeData(data);
Vector3 __pin *vec={a valid object};
memcpy(&vec->x,data,sizeof(int)*3);
}
For example, does this code below make problems?(Please ignore other errors
such as wrong grammar ,etc.)
Please reply. Thanks in advance.
Regards,
Hyun-jik Bae
--------------
public __gc class Vector3
{
int x,y,z;
void CopyFromPtr();
}
Foo()
{
int data[3];
FillSomeData(data);
Vector3 __pin *vec={a valid object};
memcpy(&vec->x,data,sizeof(int)*3);
}