@@ -54,7 +54,7 void PythonQtTestSlotCalling::init() { | |||||
54 | } |
|
54 | } | |
55 |
|
55 | |||
56 |
|
56 | |||
57 | void* polymorphic_ClassB_Handler(const void* ptr, char** className) { |
|
57 | void* polymorphic_ClassB_Handler(const void* ptr, const char** className) { | |
58 | ClassB* o = (ClassB*)ptr; |
|
58 | ClassB* o = (ClassB*)ptr; | |
59 | if (o->type()==2) { |
|
59 | if (o->type()==2) { | |
60 | *className = "ClassB"; |
|
60 | *className = "ClassB"; |
General Comments 0
You need to be logged in to leave comments.
Login now