summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-11-09 11:07:12 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2010-11-10 15:36:28 -0200
commit47006421772b9183d8a6a0fd84ff73f5c35b3f07 (patch)
tree4f8c13b3c30e13e056c8bc1476819cd776fe95d1
parentd5630195312a4eb107cb6f48aae54038a9ca4681 (diff)
downloadshiboken-47006421772b9183d8a6a0fd84ff73f5c35b3f07.tar.gz
shiboken-47006421772b9183d8a6a0fd84ff73f5c35b3f07.tar.xz
shiboken-47006421772b9183d8a6a0fd84ff73f5c35b3f07.zip
Removed deprecated function: PySequenceToArgcArgv
-rw-r--r--libshiboken/helper.cpp9
-rw-r--r--libshiboken/helper.h5
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