a new type CmiIntPtr that is of equal length to a pointer.
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 24 Sep 2009 19:22:26 +0000 (19:22 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 24 Sep 2009 19:22:26 +0000 (19:22 +0000)
src/conv-core/converse.h

index 4c339890780f1f4787bade125c5961e415ab8217..1c600d1b52c3def392c733a953de61b314a4f5fa 100644 (file)
@@ -508,6 +508,13 @@ typedef CMK_TYPEDEF_UINT8     CmiUInt8;
 typedef CMK_TYPEDEF_FLOAT4    CmiFloat4;
 typedef CMK_TYPEDEF_FLOAT8    CmiFloat8;
 
+#if CMK_SIZET_64BIT
+typedef CmiUInt8     CmiIntPtr;
+#else
+typedef CmiUInt4     CmiIntPtr;
+#endif
+
+
 typedef void  *CmiCommHandle;
 typedef void (*CmiHandler)(void *msg);
 typedef void (*CmiHandlerEx)(void *msg,void *userPtr);