diff options
-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 c37c5432..297c2b48 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 a0630412..9aa06ffe 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 |