diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-29 17:34:57 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-03-30 17:41:39 -0300 |
commit | e5d554bb614ab0c1a9c057d2d191cb62b3355a82 (patch) | |
tree | e253b0342918216302b8dcc6e13d1cd76d0b6952 /libshiboken | |
parent | ddd02b6aaf1de46005f7387d5f64f4edde6af7d8 (diff) |
Use PyTuple_GET_SIZE instead of PyTuple_GetSize.
Diffstat (limited to 'libshiboken')
-rw-r--r-- | libshiboken/basewrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libshiboken/basewrapper.cpp b/libshiboken/basewrapper.cpp index f1af99217..7bcd09ff8 100644 --- a/libshiboken/basewrapper.cpp +++ b/libshiboken/basewrapper.cpp @@ -412,7 +412,7 @@ void setErrorAboutWrongArguments(PyObject* args, const char* funcName, const cha std::string params; if (args) { if (PyTuple_Check(args)) { - for (int i = 0, max = PyTuple_Size(args); i < max; ++i) { + for (int i = 0, max = PyTuple_GET_SIZE(args); i < max; ++i) { if (i) params += ", "; params += PyTuple_GET_ITEM(args, i)->ob_type->tp_name; |