@@ -47,7 +47,7 | |||||
47 | #include "PythonQtConversion.h" |
|
47 | #include "PythonQtConversion.h" | |
48 | #include "PythonQtClassWrapper.h" |
|
48 | #include "PythonQtClassWrapper.h" | |
49 |
|
49 | |||
50 | PythonQtClassInfo* PythonQtInstanceWrapper::classInfo() |
|
50 | PythonQtClassInfo* PythonQtInstanceWrapperStruct::classInfo() | |
51 | { |
|
51 | { | |
52 | // take the class info from our type object |
|
52 | // take the class info from our type object | |
53 | return ((PythonQtClassWrapper*)ob_type)->_classInfo; |
|
53 | return ((PythonQtClassWrapper*)ob_type)->_classInfo; |
@@ -59,7 +59,7 extern PYTHONQT_EXPORT PyTypeObject PythonQtInstanceWrapper_Type; | |||||
59 |
|
59 | |||
60 | //--------------------------------------------------------------- |
|
60 | //--------------------------------------------------------------- | |
61 | //! a Python wrapper object for Qt objects and C++ objects (that are themselves wrapped by wrapper QObjects) |
|
61 | //! a Python wrapper object for Qt objects and C++ objects (that are themselves wrapped by wrapper QObjects) | |
62 | typedef struct { |
|
62 | typedef struct PythonQtInstanceWrapperStruct { | |
63 | PyObject_HEAD |
|
63 | PyObject_HEAD | |
64 |
|
64 | |||
65 | //! the class information, this is set even if the _obj or _wrappedPtr is NULL to support typed NULL pointers |
|
65 | //! the class information, this is set even if the _obj or _wrappedPtr is NULL to support typed NULL pointers |
General Comments 0
You need to be logged in to leave comments.
Login now