summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Util.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-10-27 13:20:39 -0700
committerMark Spruiell <mes@zeroc.com>2009-10-27 13:20:39 -0700
commit370cfa6a7f7a3bb188dfb66bad09f3283a07aab8 (patch)
tree61b68c219c6c637f8621673d3b96bc8ad624c261 /py/modules/IcePy/Util.h
parentbug 4333 - fixing TestUtil issue (diff)
downloadice-370cfa6a7f7a3bb188dfb66bad09f3283a07aab8.tar.bz2
ice-370cfa6a7f7a3bb188dfb66bad09f3283a07aab8.tar.xz
ice-370cfa6a7f7a3bb188dfb66bad09f3283a07aab8.zip
bug 4335 - Python segfault
Diffstat (limited to 'py/modules/IcePy/Util.h')
-rw-r--r--py/modules/IcePy/Util.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/py/modules/IcePy/Util.h b/py/modules/IcePy/Util.h
index 0780fd67f6b..5d860d246c8 100644
--- a/py/modules/IcePy/Util.h
+++ b/py/modules/IcePy/Util.h
@@ -60,11 +60,16 @@ inline PyObject* createString(const std::string& str)
std::string getString(PyObject*);
//
-// Validate and retrieve a string argument.
+// Validate and retrieve a string argument; None is also legal.
//
bool getStringArg(PyObject*, const std::string&, std::string&);
//
+// Get the name of the current Python function.
+//
+std::string getFunction();
+
+//
// Invokes Py_DECREF on a Python object.
//
class PyObjectHandle