aboutsummaryrefslogtreecommitdiffstats
path: root/libshiboken
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>2012-03-08 16:08:56 -0300
commitb4957bcc1cde9fa1bb491a166cf163872a6708cc (patch)
tree8f40a93a1b92944fadc352c40b38497f40c9c282 /libshiboken
parent6d69fbb13907e80ab87f86bc9407fc4ab0a102d7 (diff)
Removed deprecated function: PySequenceToArgcArgv
Diffstat (limited to 'libshiboken')
-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 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