harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r797318 - in /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared: NativeImageFormat.c NativeImageFormat.h
Date Fri, 24 Jul 2009 04:04:23 GMT
Author: ndbeyer
Date: Fri Jul 24 04:04:23 2009
New Revision: 797318

URL: http://svn.apache.org/viewvc?rev=797318&view=rev
Log:
move fields from header to impl to avoid duplication

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.c
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.h

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.c?rev=797318&r1=797317&r2=797318&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.c
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.c
Fri Jul 24 04:04:23 2009
@@ -23,6 +23,14 @@
 #include "NativeImageFormat.h"
 #include "exceptions.h"
 
+jfieldID clr_NIF_cmmFormatID;
+jfieldID clr_NIF_colsID;
+jfieldID clr_NIF_rowsID;
+jfieldID clr_NIF_scanlineStrideID;
+jfieldID clr_NIF_imageDataID;
+jfieldID clr_NIF_dataOffsetID;
+jfieldID clr_NIF_alphaOffsetID;
+
 /*
  * Class:     org_apache_harmony_awt_gl_color_NativeImageFormat
  * Method:    initIDs

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.h?rev=797318&r1=797317&r2=797318&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.h
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared/NativeImageFormat.h
Fri Jul 24 04:04:23 2009
@@ -25,14 +25,6 @@
 
 #include "NativeCMM.h"
 
-jfieldID clr_NIF_cmmFormatID;
-jfieldID clr_NIF_colsID;
-jfieldID clr_NIF_rowsID;
-jfieldID clr_NIF_scanlineStrideID;
-jfieldID clr_NIF_imageDataID;
-jfieldID clr_NIF_dataOffsetID;
-jfieldID clr_NIF_alphaOffsetID;
-
 // Represents NativeImageFormat java class
 typedef struct {
     int cmmFormat;



Mime
View raw message