harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlyd...@apache.org
Subject svn commit: r330924 - /incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h
Date Fri, 04 Nov 2005 21:42:40 GMT
Author: dlydick
Date: Fri Nov  4 13:42:32 2005
New Revision: 330924

URL: http://svn.apache.org/viewcvs?rev=330924&view=rev
Log:
Extend idea of PTR_CP_ENTRY_xxx() macro to more types.

Modified:
    incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h

Modified: incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h?rev=330924&r1=330923&r2=330924&view=diff
==============================================================================
--- incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h (original)
+++ incubator/harmony/enhanced/trunk/sandbox/contribs/bootjvm/bootJVM/jvm/src/cfmacros.h Fri
Nov  4 13:42:32 2005
@@ -193,6 +193,26 @@
  * </li>
  *
  * <li>
+ *     PTR_CP_ENTRY_INTEGER()  (CONSTANT_Integer_info *)
+ * </li>
+ *
+ * <li>
+ *     PTR_CP_ENTRY_FLOAT()    (CONSTANT_Float_info *)
+ * </li>
+ *
+ * <li>
+ *     PTR_CP_ENTRY_LONG()     (CONSTANT_Long_info *)
+ * </li>
+ *
+ * <li>
+ *     PTR_CP_ENTRY_DOUBLE()   (CONSTANT_Double_info *)
+ * </li>
+ *
+ * <li>
+ *     PTR_CP_ENTRY_STRING()   (CONSTANT_String_info *)
+ * </li>
+ *
+ * <li>
  *     PTR_CP_ENTRY_UTF8()     (CONSTANT_Utf8_info *)
  * </li>
  * </ul>
@@ -217,6 +237,21 @@
 
 #define PTR_CP_ENTRY_CLASS(pcfs, cpidx)  \
    ((CONSTANT_Class_info *) PTR_CP_ENTRY(pcfs, cpidx))
+
+#define PTR_CP_ENTRY_INTEGER(pcfs, cpidx)  \
+   ((CONSTANT_Integer_info *) PTR_CP_ENTRY(pcfs, cpidx))
+
+#define PTR_CP_ENTRY_FLOAT(pcfs, cpidx)  \
+   ((CONSTANT_Float_info *) PTR_CP_ENTRY(pcfs, cpidx))
+
+#define PTR_CP_ENTRY_LONG(pcfs, cpidx)  \
+   ((CONSTANT_Long_info *) PTR_CP_ENTRY(pcfs, cpidx))
+
+#define PTR_CP_ENTRY_DOUBLE(pcfs, cpidx)  \
+   ((CONSTANT_Double_info *) PTR_CP_ENTRY(pcfs, cpidx))
+
+#define PTR_CP_ENTRY_STRING(pcfs, cpidx)  \
+   ((CONSTANT_String_info *) PTR_CP_ENTRY(pcfs, cpidx))
 
 #define PTR_CP_ENTRY_UTF8(pcfs, cpidx)  \
    ((CONSTANT_Utf8_info *) PTR_CP_ENTRY(pcfs, cpidx))



Mime
View raw message