pvData ctypes: added context handler and handle destructor to test example
This commit is contained in:
@@ -76,6 +76,12 @@ extern "C"
|
||||
}
|
||||
}
|
||||
|
||||
void destroy(void * handle)
|
||||
{
|
||||
StructureHandle * sh = (StructureHandle *)handle;
|
||||
delete sh;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user