]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/letest/sfnt.h
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / test / letest / sfnt.h
index f83f9212e351efd505af9a0d480a2cef5ff75012..bd5888fc7c5d5f2eb65cbc1398f92ab77a5ee349 100644 (file)
@@ -1,6 +1,6 @@
 /***************************************************************************
 *
-*   Copyright (C) 1998-2008, International Business Machines
+*   Copyright (C) 1998-2011, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 *
 ************************************************************************/
@@ -24,7 +24,7 @@ struct DirectoryEntry
     le_uint32   length;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct DirectoryEntry DirectoryEntry;
 #endif
 
@@ -38,7 +38,7 @@ struct SFNTDirectory
     DirectoryEntry  tableDirectory[ANY_NUMBER];
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct SFNTDirectory SFNTDirectory;
 #endif
 
@@ -50,7 +50,7 @@ struct CMAPEncodingSubtableHeader
     le_uint32   encodingOffset;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct CMAPEncodingSubtableHeader CMAPEncodingSubtableHeader;
 #endif
 
@@ -61,7 +61,7 @@ struct CMAPTable
     CMAPEncodingSubtableHeader encodingSubtableHeaders[ANY_NUMBER];
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct CMAPTable CMAPTable;
 #endif
 
@@ -72,11 +72,11 @@ struct CMAPEncodingSubtable
     le_uint16   language;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct CMAPEncodingSubtable CMAPEncodingSubtable;
 #endif
 
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
 struct CMAPFormat0Encoding : CMAPEncodingSubtable
 {
     le_uint8    glyphIndexArray[256];
@@ -100,11 +100,11 @@ struct CMAPFormat2Subheader
     le_uint16   idRangeOffset;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct CMAPFormat2Subheader CMAPFormat2Subheader;
 #endif
 
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
 struct CMAPFormat2Encoding : CMAPEncodingSubtable
 {
     le_uint16  subHeadKeys[256];
@@ -122,7 +122,7 @@ struct CMAPFormat2Encoding
 typedef struct CMAPFormat2Encoding CMAPFormat2Encoding;
 #endif
 
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
 struct CMAPFormat4Encoding : CMAPEncodingSubtable
 {
     le_uint16   segCountX2;
@@ -160,7 +160,7 @@ struct CMAPFormat4Encoding
 typedef struct CMAPFormat4Encoding CMAPFormat4Encoding;
 #endif
 
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
 struct CMAPFormat6Encoding : CMAPEncodingSubtable
 {
     le_uint16   firstCode;
@@ -187,7 +187,7 @@ struct CMAPEncodingSubtable32
     le_uint32   language;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct CMAPEncodingSubtable32 CMAPEncodingSubtable32;
 #endif
 
@@ -198,11 +198,11 @@ struct CMAPGroup
     le_uint32   startGlyphCode;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct CMAPGroup CMAPGroup;
 #endif
 
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
 struct CMAPFormat8Encoding : CMAPEncodingSubtable32
 {
     le_uint32   is32[65536/32];
@@ -222,7 +222,7 @@ struct CMAPFormat8Encoding
 typedef struct CMAPFormat8Encoding CMAPFormat8Encoding;
 #endif
 
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
 struct CMAPFormat10Encoding : CMAPEncodingSubtable32
 {
     le_uint32   startCharCode;
@@ -242,7 +242,7 @@ struct CMAPFormat10Encoding
 typedef struct CMAPFormat10Encoding CMAPFormat10Encoding;
 #endif
 
-#ifdef XP_CPLUSPLUS
+#ifdef __cplusplus
 struct CMAPFormat12Encoding : CMAPEncodingSubtable32
 {
     le_uint32   nGroups;
@@ -268,7 +268,7 @@ struct BigDate
     le_uint32   ad;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct BigDate BigDate;
 #endif
 
@@ -292,7 +292,7 @@ struct HEADTable
     le_int16    glyphDataFormat;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct HEADTable HEADTable;
 #endif
 
@@ -315,7 +315,7 @@ struct MAXPTable
     le_uint16   maxComponentDepth;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct MAXPTable MAXPTable;
 #endif
 
@@ -340,7 +340,7 @@ struct HHEATable
     le_uint16   numOfLongHorMetrics;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct HHEATable HHEATable;
 #endif
 
@@ -350,7 +350,7 @@ struct LongHorMetric
     le_int16    leftSideBearing;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct LongHorMetric LongHorMetric;
 #endif
 
@@ -360,7 +360,7 @@ struct HMTXTable
 /* le_int16        leftSideBearing[ANY_NUMBER];  ANY_NUMBER = numGlyphs - numOfLongHorMetrics     */
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct HMTXTable HMTXTable;
 #endif
 
@@ -429,7 +429,7 @@ struct NameRecord
     le_uint16 offset;
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct NameRecord NameRecord;
 #endif
 
@@ -441,7 +441,7 @@ struct NAMETable
     NameRecord nameRecords[ANY_NUMBER];
 };
 
-#ifndef XP_CPLUSPLUS
+#ifndef __cplusplus
 typedef struct NAMETable NAMETable;
 #endif