Added Ck* defines for all Mc functions. For example, McTotalNumPe() ->
authorRobert Brunner <rbrunner@uiuc.edu>
Tue, 24 Oct 1995 19:48:42 +0000 (19:48 +0000)
committerRobert Brunner <rbrunner@uiuc.edu>
Tue, 24 Oct 1995 19:48:42 +0000 (19:48 +0000)
CkNumPe().

src/ck-core/ckdefs.h

index d44305edd6715e53324e9145836fa948ba9282e6..3eedf8424695ea3c0d5ff6980bea5916e0916b63 100644 (file)
  * REVISION HISTORY:
  *
  * $Log$
- * Revision 2.7  1995-07-06 22:42:11  narain
+ * Revision 2.8  1995-10-24 19:48:42  brunner
+ * Added Ck* defines for all Mc functions.  For example, McTotalNumPe() ->
+ * CkNumPe().
+ *
+ * Revision 2.7  1995/07/06  22:42:11  narain
  * Changes for LDB interface revision
  *
  * Revision 2.6  1995/07/05  21:17:02  narain
 #define McNumSpanTreeChildren(node) CmiNumSpanTreeChildren(node)
 #define McSendToSpanTreeLeaves(size, msg) CmiSendToSpanTreeLeaves(size, msg)
 
+/* We are going to only use Ck prefixes in Charm programs */
+#define CkMyPe() CmiMyPe()
+#define CkNumPe() CmiNumPe()
+#define CkSpanTreeInit() CmiSpanTreeInit()
+#define CkSpanTreeParent(node) CmiSpanTreeParent(node)
+#define CkSpanTreeRoot() CmiSpanTreeRoot()
+#define CkSpanTreeChild(node, children) CmiSpanTreeChildren(node, children)
+#define CkNumSpanTreeChildren(node) CmiNumSpanTreeChildren(node)
+#define CkSendToSpanTreeLeaves(size, msg) CmiSendToSpanTreeLeaves(size, msg)
+
 #define CkPrintf                CmiPrintf
 #define CPrintf                 CmiPrintf
 #define CkScanf                 CmiScanf