struct Foo { void(*Print)(); //could be any method pointer int MyField; }
void Test() { printf("print called"); } void Callback() { //this should be called for every memory access at Foo->Print }
MyField
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)