summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Util.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-03-06 19:18:15 -0800
committerMark Spruiell <mes@zeroc.com>2008-03-06 19:18:15 -0800
commita1ba594bc48bfd670f8143473361d07090aab8f0 (patch)
tree56fb51c131ad314e1f698616edac27807bf69f9e /py/modules/IcePy/Util.h
parentMerge branch 'master' of ssh://git/home/git/ice (diff)
downloadice-a1ba594bc48bfd670f8143473361d07090aab8f0.tar.bz2
ice-a1ba594bc48bfd670f8143473361d07090aab8f0.tar.xz
ice-a1ba594bc48bfd670f8143473361d07090aab8f0.zip
Python changes:
- Adding ice_flushBatchRequests, ice_flushBatchRequests_async - Adding support for ice_sent callback
Diffstat (limited to 'py/modules/IcePy/Util.h')
-rw-r--r--py/modules/IcePy/Util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/modules/IcePy/Util.h b/py/modules/IcePy/Util.h
index 5e80348796d..c05aacc41b3 100644
--- a/py/modules/IcePy/Util.h
+++ b/py/modules/IcePy/Util.h
@@ -26,6 +26,8 @@
#define PyRETURN_FALSE return Py_INCREF(getFalse()), getFalse()
#define PyRETURN_TRUE return Py_INCREF(getTrue()), getTrue()
+#define PyRETURN_BOOL(b) if(b) PyRETURN_TRUE; else PyRETURN_FALSE
+
namespace IcePy
{