diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-14 14:27:45 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-01-14 14:27:45 -0200 |
commit | 4ec281e299faadeb20dac4a7cf55f16c9124ebeb (patch) | |
tree | 6c31709fab8c9b791abae8e04db3fe0e8fda258a /libshiboken | |
parent | c06ceb1aab9b8199a75f9b9572a0556c8b9a6a97 (diff) |
Removed warninig: missing braces around initializer for 'PyTypeObject' from basewrapper.cpp
Diffstat (limited to 'libshiboken')
-rw-r--r-- | libshiboken/basewrapper.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index a9e6b4be8..cad4efe0d 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -203,7 +203,7 @@ PyTypeObject SbkBaseWrapperType_Type = { /*tp_weaklist*/ 0 }; -SbkBaseWrapperType SbkBaseWrapper_Type = { +SbkBaseWrapperType SbkBaseWrapper_Type = { { { PyObject_HEAD_INIT(&SbkBaseWrapperType_Type) /*ob_size*/ 0, /*tp_name*/ "Shiboken.BaseWrapper", @@ -250,6 +250,10 @@ SbkBaseWrapperType SbkBaseWrapper_Type = { /*tp_cache*/ 0, /*tp_subclasses*/ 0, /*tp_weaklist*/ 0 +}, }, +/*mi_offsets*/ 0, +/*mi_init*/ 0, +/*mi_specialcast*/ 0 }; PyAPI_FUNC(void) init_shiboken() |