You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by nd...@apache.org on 2009/07/24 06:04:23 UTC

svn commit: r797318 - in /harmony/enhanced/classlib/trunk/modules/awt/src/main/native/lcmm/shared: NativeImageFormat.c NativeImageFormat.h

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;