diff options
author | Mark Spruiell <mes@zeroc.com> | 2004-09-07 18:10:32 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2004-09-07 18:10:32 +0000 |
commit | c0ce634b89ca28489e0a409c75f50e43932f3307 (patch) | |
tree | 5f0a0136ed22d9aa49140f44905e5678e5ab2425 /py/modules/IcePy/Util.h | |
parent | handle primitive sequence types as special case (diff) | |
download | ice-c0ce634b89ca28489e0a409c75f50e43932f3307.tar.bz2 ice-c0ce634b89ca28489e0a409c75f50e43932f3307.tar.xz ice-c0ce634b89ca28489e0a409c75f50e43932f3307.zip |
merging Identity functions into Util
Diffstat (limited to 'py/modules/IcePy/Util.h')
-rw-r--r-- | py/modules/IcePy/Util.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/py/modules/IcePy/Util.h b/py/modules/IcePy/Util.h index a58141e13c6..4377be6cb15 100644 --- a/py/modules/IcePy/Util.h +++ b/py/modules/IcePy/Util.h @@ -114,6 +114,29 @@ void throwPythonException(PyObject* = NULL); // void handleSystemExit(); +// +// Create a Python instance of Ice.Identity. +// +PyObject* createIdentity(const Ice::Identity&); + +// +// Verify that the object is Ice.Identity. +// +bool checkIdentity(PyObject*); + +// +// Assign values to members of an instance of Ice.Identity. +// +bool setIdentity(PyObject*, const Ice::Identity&); + +// +// Extract the members of Ice.Identity. +// +bool getIdentity(PyObject*, Ice::Identity&); + } +extern "C" PyObject* Ice_identityToString(PyObject*, PyObject*); +extern "C" PyObject* Ice_stringToIdentity(PyObject*, PyObject*); + #endif |