diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-11-09 11:07:12 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:08:56 -0300 |
commit | b4957bcc1cde9fa1bb491a166cf163872a6708cc (patch) | |
tree | 8f40a93a1b92944fadc352c40b38497f40c9c282 /libshiboken | |
parent | 6d69fbb13907e80ab87f86bc9407fc4ab0a102d7 (diff) |
Removed deprecated function: PySequenceToArgcArgv
Diffstat (limited to 'libshiboken')
-rw-r--r-- | libshiboken/helper.cpp | 9 | ||||
-rw-r--r-- | libshiboken/helper.h | 5 |
2 files changed, 1 insertions, 13 deletions
diff --git a/libshiboken/helper.cpp b/libshiboken/helper.cpp index c37c54328..297c2b48f 100644 --- a/libshiboken/helper.cpp +++ b/libshiboken/helper.cpp @@ -25,14 +25,7 @@ namespace Shiboken { -bool -PySequenceToArgcArgv(PyObject* argList, int* argc, char*** argv, const char* defaultAppName) -{ - return sequenceToArgcArgv(argList, argc, argv, defaultAppName); -} - -bool -sequenceToArgcArgv(PyObject* argList, int* argc, char*** argv, const char* defaultAppName) +bool sequenceToArgcArgv(PyObject* argList, int* argc, char*** argv, const char* defaultAppName) { if (!PySequence_Check(argList)) return false; diff --git a/libshiboken/helper.h b/libshiboken/helper.h index a06304123..9aa06ffe6 100644 --- a/libshiboken/helper.h +++ b/libshiboken/helper.h @@ -79,11 +79,6 @@ inline PyObject* makeTuple(const A& a, const B& b, const C& c, const D& d, const LIBSHIBOKEN_API bool sequenceToArgcArgv(PyObject* argList, int* argc, char*** argv, const char* defaultAppName = 0); /** - * \deprecated Use sequenceToArgcArgv instead. - */ -LIBSHIBOKEN_API bool PySequenceToArgcArgv(PyObject* argList, int* argc, char*** argv, const char* defaultAppName = 0); - -/** * Convert a python sequence into a heap-allocated array of ints. * * \returns The newly allocated array or NULL in case of error or empty sequence. Check with PyErr_Occurred |