pvData ctypes: added context handler and handle destructor to test example

This commit is contained in:
jrowlandls
2012-07-20 10:25:01 +01:00
parent 038567280b
commit 92c68dfcbc
2 changed files with 40 additions and 10 deletions

View File

@@ -76,6 +76,12 @@ extern "C"
}
}
void destroy(void * handle)
{
StructureHandle * sh = (StructureHandle *)handle;
delete sh;
}
};