Browse Source

+ aliases for Java primitive types (jbyte, jshort, jint, jlong, jchar,
jsingle, jdouble, jboolean)

git-svn-id: branches/jvmbackend@18321 -

Jonas Maebe 14 years ago
parent
commit
817ebe5d8d
1 changed files with 10 additions and 0 deletions
  1. 10 0
      rtl/java/system.pp

+ 10 - 0
rtl/java/system.pp

@@ -40,6 +40,16 @@ Type
 
   HResult = type longint;
 
+  { Java primitive types }
+  jboolean = boolean;
+  jbyte = shortint;
+  jshort = smallint;
+  jint = longint;
+  jlong = int64;
+  jchar = widechar;
+  jfloat = single;
+  jdouble = double;
+
 const
 { max. values for longint and int}
   maxLongint  = $7fffffff;