[OT] Rename C++ header files from *.h to *.hh
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 3 Aug 2009 00:03:12 +0000 (20:03 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 Nov 2009 19:40:27 +0000 (14:40 -0500)
src/Makefile.am
src/hb-open-file-private.hh [moved from src/hb-open-file-private.h with 96% similarity]
src/hb-open-types-private.hh [moved from src/hb-open-types-private.h with 99% similarity]
src/hb-ot-layout-common-private.hh [moved from src/hb-ot-layout-common-private.h with 98% similarity]
src/hb-ot-layout-gdef-private.hh [moved from src/hb-ot-layout-gdef-private.h with 98% similarity]
src/hb-ot-layout-gpos-private.hh [moved from src/hb-ot-layout-gpos-private.h with 99% similarity]
src/hb-ot-layout-gsub-private.hh [moved from src/hb-ot-layout-gsub-private.h with 99% similarity]
src/hb-ot-layout-gsubgpos-private.hh [moved from src/hb-ot-layout-gsubgpos-private.h with 99% similarity]
src/hb-ot-layout.cc
src/main.cc

index 9f60d26..ea2c294 100644 (file)
@@ -13,14 +13,14 @@ HBSOURCES =  \
        hb-font.c \
        hb-font-private.h \
        hb-private.h \
-       hb-open-file-private.h \
-       hb-open-types-private.h \
+       hb-open-file-private.hh \
+       hb-open-types-private.hh \
        hb-ot-layout.cc \
-       hb-ot-layout-common-private.h \
-       hb-ot-layout-gdef-private.h \
-       hb-ot-layout-gpos-private.h \
-       hb-ot-layout-gsubgpos-private.h \
-       hb-ot-layout-gsub-private.h \
+       hb-ot-layout-common-private.hh \
+       hb-ot-layout-gdef-private.hh \
+       hb-ot-layout-gpos-private.hh \
+       hb-ot-layout-gsubgpos-private.hh \
+       hb-ot-layout-gsub-private.hh \
        hb-ot-layout-private.h \
        hb-object-private.h \
        $(NULL)
similarity index 96%
rename from src/hb-open-file-private.h
rename to src/hb-open-file-private.hh
index 9838288..c06bb88 100644 (file)
  * Red Hat Author(s): Behdad Esfahbod
  */
 
-#ifndef HB_OPEN_FILE_PRIVATE_H
-#define HB_OPEN_FILE_PRIVATE_H
+#ifndef HB_OPEN_FILE_PRIVATE_HH
+#define HB_OPEN_FILE_PRIVATE_HH
 
-#include "hb-open-types-private.h"
+#include "hb-open-types-private.hh"
 
 
 /*
@@ -142,4 +142,4 @@ struct OpenTypeFontFile
 ASSERT_SIZE (OpenTypeFontFile, 4);
 
 
-#endif /* HB_OPEN_FILE_PRIVATE_H */
+#endif /* HB_OPEN_FILE_PRIVATE_HH */
similarity index 99%
rename from src/hb-open-types-private.h
rename to src/hb-open-types-private.hh
index 051853e..98efde4 100644 (file)
@@ -24,8 +24,8 @@
  * Red Hat Author(s): Behdad Esfahbod
  */
 
-#ifndef HB_OPEN_TYPES_PRIVATE_H
-#define HB_OPEN_TYPES_PRIVATE_H
+#ifndef HB_OPEN_TYPES_PRIVATE_HH
+#define HB_OPEN_TYPES_PRIVATE_HH
 
 #include "hb-private.h"
 
@@ -383,4 +383,4 @@ struct LongOffsetLongArrayOf : LongArrayOf<LongOffsetTo<Type> > {};
   }
 
 
-#endif /* HB_OPEN_TYPES_PRIVATE_H */
+#endif /* HB_OPEN_TYPES_PRIVATE_HH */
similarity index 98%
rename from src/hb-ot-layout-common-private.h
rename to src/hb-ot-layout-common-private.hh
index b3e2a00..6f66118 100644 (file)
  * Red Hat Author(s): Behdad Esfahbod
  */
 
-#ifndef HB_OT_LAYOUT_COMMON_PRIVATE_H
-#define HB_OT_LAYOUT_COMMON_PRIVATE_H
+#ifndef HB_OT_LAYOUT_COMMON_PRIVATE_HH
+#define HB_OT_LAYOUT_COMMON_PRIVATE_HH
 
 #include "hb-ot-layout-private.h"
 
-#include "hb-open-types-private.h"
+#include "hb-open-types-private.hh"
 
 
 /*
@@ -444,4 +444,4 @@ struct Device
 ASSERT_SIZE (Device, 6);
 
 
-#endif /* HB_OT_LAYOUT_COMMON_PRIVATE_H */
+#endif /* HB_OT_LAYOUT_COMMON_PRIVATE_HH */
similarity index 98%
rename from src/hb-ot-layout-gdef-private.h
rename to src/hb-ot-layout-gdef-private.hh
index 0ed74a8..b890099 100644 (file)
  * Red Hat Author(s): Behdad Esfahbod
  */
 
-#ifndef HB_OT_LAYOUT_GDEF_PRIVATE_H
-#define HB_OT_LAYOUT_GDEF_PRIVATE_H
+#ifndef HB_OT_LAYOUT_GDEF_PRIVATE_HH
+#define HB_OT_LAYOUT_GDEF_PRIVATE_HH
 
-#include "hb-ot-layout-common-private.h"
+#include "hb-ot-layout-common-private.hh"
 
 
 struct GlyphClassDef : ClassDef
@@ -317,4 +317,4 @@ struct GDEF
 ASSERT_SIZE (GDEF, 12);
 
 
-#endif /* HB_OT_LAYOUT_GDEF_PRIVATE_H */
+#endif /* HB_OT_LAYOUT_GDEF_PRIVATE_HH */
similarity index 99%
rename from src/hb-ot-layout-gpos-private.h
rename to src/hb-ot-layout-gpos-private.hh
index 8bb3f95..8611848 100644 (file)
  * Red Hat Author(s): Behdad Esfahbod
  */
 
-#ifndef HB_OT_LAYOUT_GPOS_PRIVATE_H
-#define HB_OT_LAYOUT_GPOS_PRIVATE_H
+#ifndef HB_OT_LAYOUT_GPOS_PRIVATE_HH
+#define HB_OT_LAYOUT_GPOS_PRIVATE_HH
 
-#include "hb-ot-layout-gsubgpos-private.h"
+#include "hb-ot-layout-gsubgpos-private.hh"
 
 #define HB_OT_LAYOUT_GPOS_NO_LAST ((unsigned int) -1)
 
@@ -1352,4 +1352,4 @@ static inline bool position_lookup (APPLY_ARG_DEF, unsigned int lookup_index)
 }
 
 
-#endif /* HB_OT_LAYOUT_GPOS_PRIVATE_H */
+#endif /* HB_OT_LAYOUT_GPOS_PRIVATE_HH */
similarity index 99%
rename from src/hb-ot-layout-gsub-private.h
rename to src/hb-ot-layout-gsub-private.hh
index e4c3afb..38aa24b 100644 (file)
  * Red Hat Author(s): Behdad Esfahbod
  */
 
-#ifndef HB_OT_LAYOUT_GSUB_PRIVATE_H
-#define HB_OT_LAYOUT_GSUB_PRIVATE_H
+#ifndef HB_OT_LAYOUT_GSUB_PRIVATE_HH
+#define HB_OT_LAYOUT_GSUB_PRIVATE_HH
 
-#include "hb-ot-layout-gsubgpos-private.h"
+#include "hb-ot-layout-gsubgpos-private.hh"
 
 
 struct SingleSubstFormat1
@@ -748,4 +748,4 @@ static inline bool substitute_lookup (APPLY_ARG_DEF, unsigned int lookup_index)
 }
 
 
-#endif /* HB_OT_LAYOUT_GSUB_PRIVATE_H */
+#endif /* HB_OT_LAYOUT_GSUB_PRIVATE_HH */
similarity index 99%
rename from src/hb-ot-layout-gsubgpos-private.h
rename to src/hb-ot-layout-gsubgpos-private.hh
index 35d8f8c..7a37509 100644 (file)
  * Red Hat Author(s): Behdad Esfahbod
  */
 
-#ifndef HB_OT_LAYOUT_GSUBGPOS_PRIVATE_H
-#define HB_OT_LAYOUT_GSUBGPOS_PRIVATE_H
+#ifndef HB_OT_LAYOUT_GSUBGPOS_PRIVATE_HH
+#define HB_OT_LAYOUT_GSUBGPOS_PRIVATE_HH
 
 #include "hb-buffer-private.h"
-#include "hb-ot-layout-gdef-private.h"
+#include "hb-ot-layout-gdef-private.hh"
 
 
 #define APPLY_ARG_DEF \
@@ -770,4 +770,4 @@ struct GSUBGPOS
 ASSERT_SIZE (GSUBGPOS, 10);
 
 
-#endif /* HB_OT_LAYOUT_GSUBGPOS_PRIVATE_H */
+#endif /* HB_OT_LAYOUT_GSUBGPOS_PRIVATE_HH */
index 82ceaee..46517fa 100644 (file)
 
 #include "hb-ot-layout-private.h"
 
-#include "hb-open-file-private.h"
-#include "hb-ot-layout-gdef-private.h"
-#include "hb-ot-layout-gsub-private.h"
-#include "hb-ot-layout-gpos-private.h"
+#include "hb-open-file-private.hh"
+#include "hb-ot-layout-gdef-private.hh"
+#include "hb-ot-layout-gsub-private.hh"
+#include "hb-ot-layout-gpos-private.hh"
 
 
 #include <stdlib.h>
index 25720c8..8d76694 100644 (file)
@@ -25,9 +25,9 @@
  */
 
 #define HB_OT_LAYOUT_CC
-#include "hb-open-file-private.h"
-#include "hb-ot-layout-gdef-private.h"
-#include "hb-ot-layout-gsubgpos-private.h"
+#include "hb-open-file-private.hh"
+#include "hb-ot-layout-gdef-private.hh"
+#include "hb-ot-layout-gsubgpos-private.hh"
 
 #include <glib.h>
 #include <stdlib.h>