diff options
| author | Guilhem Lavaux <guilhem@kaffe.org> | 2005-08-03 13:12:58 +0000 |
|---|---|---|
| committer | Guilhem Lavaux <guilhem@kaffe.org> | 2005-08-03 13:12:58 +0000 |
| commit | 0008b2cd875b445caeaecc4bf269c4a030301eaf (patch) | |
| tree | 3379cb186ad85ecfb01b4a8c20e2c1faa0cca275 /gnu/classpath/Pointer64.java | |
| parent | ec519f49cb01caf23c6a05585ca12e343a7b99c1 (diff) | |
| download | classpath-0008b2cd875b445caeaecc4bf269c4a030301eaf.tar.gz | |
2005-08-03 Guilhem Lavaux <guilhem@kaffe.org>
* gnu/classpath/Pointer.java,
gnu/classpath/Pointer32.java,
gnu/classpath/Pointer64.java,
gnu/classpath/RawData.java,
gnu/classpath/RawData32.java,
gnu/classpath/RawData64.java,
gnu/java/awt/peer/gtk/GtkImage.java,
gnu/java/nio/charset/iconv/IconvDecoder.java,
gnu/java/nio/charset/iconv/IconvEncoder.java,
java/nio/Buffer.java,
java/nio/DirectByteBufferImpl.java,
java/nio/MappedByteBufferImpl.java,
native/jni/classpath/jcl.c,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c,
native/jni/java-nio/java_nio_MappedByteBufferImpl.c,
native/jni/java-nio/java_nio_VMDirectByteBuffer.c,
vm/reference/java/nio/VMDirectByteBuffer.java: Renamed
references to gnu/classpath/RawData to gnu/classpath/Pointer.
Diffstat (limited to 'gnu/classpath/Pointer64.java')
| -rw-r--r-- | gnu/classpath/Pointer64.java | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/gnu/classpath/Pointer64.java b/gnu/classpath/Pointer64.java new file mode 100644 index 000000000..6d27e1ba1 --- /dev/null +++ b/gnu/classpath/Pointer64.java @@ -0,0 +1,52 @@ +/* Pointer64.java -- 64 bit Pointer + Copyright (C) 2004 Free Software Foundation + +This file is part of GNU Classpath. + +GNU Classpath is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU Classpath is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU Classpath; see the file COPYING. If not, write to the +Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +02110-1301 USA. + +Linking this library statically or dynamically with other modules is +making a combined work based on this library. Thus, the terms and +conditions of the GNU General Public License cover the whole +combination. + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent +modules, and to copy and distribute the resulting executable under +terms of your choice, provided that you also meet, for each linked +independent module, the terms and conditions of the license of that +module. An independent module is a module which is not derived from +or based on this library. If you modify this library, you may extend +this exception to your version of the library, but you are not +obligated to do so. If you do not wish to do so, delete this +exception statement from your version. */ + +package gnu.classpath; + +/** + * A type used to indicate special data used by native code that should not + * be marked by the garbage collector. + */ +public final class Pointer64 extends Pointer +{ + final long data; + + public Pointer64(long data) + { + this.data = data; + } +} |
