classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] RFC: Rawdata update


From: Guilhem Lavaux
Subject: [cp-patches] RFC: Rawdata update
Date: Tue, 02 Aug 2005 11:15:38 +0200

Hi,

Here is a patch to make all JNI functions in classpath use
JCL_GetRawData and JCL_NewRawDataObject. 

2005-08-02  Guilhem Lavaux  <address@hidden>

        * classpath/jcl.c
        (JCl_NewRawDataObject): Added error handling.

        * classpath/jcl.h
        (jpointer): New integer type to represent a pointer. 

        * gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c,
        java-nio/gnu_java_nio_channels_FileChannelImpl.c,
        java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
        java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c,
        java-nio/java_nio_MappedByteBufferImpl.c,
        java-nio/java_nio_VMDirectByteBuffer.c,
        xmlj/xmlj_util.c: Use JCL functions instead of directly 
        accessing gnu/classpath/RawData.

This is a minimal patch. However maybe xmljAsPointer & xmljAsField may
be also removed use directly the JCL functions in the xmlj code.

Comments ?

Guilhem.

Attachment: rawdata_patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]