From 5f5b24f99f52bbc922e238b65c06061ba07c8548 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 2 Aug 2009 20:03:12 -0400 Subject: [PATCH] [OT] Rename C++ header files from *.h to *.hh --- src/Makefile.am | 14 +++++++------- ...open-file-private.h => hb-open-file-private.hh} | 8 ++++---- ...en-types-private.h => hb-open-types-private.hh} | 6 +++--- ...on-private.h => hb-ot-layout-common-private.hh} | 8 ++++---- ...gdef-private.h => hb-ot-layout-gdef-private.hh} | 8 ++++---- ...gpos-private.h => hb-ot-layout-gpos-private.hh} | 8 ++++---- ...gsub-private.h => hb-ot-layout-gsub-private.hh} | 8 ++++---- ...-private.h => hb-ot-layout-gsubgpos-private.hh} | 8 ++++---- src/hb-ot-layout.cc | 8 ++++---- src/main.cc | 6 +++--- 10 files changed, 41 insertions(+), 41 deletions(-) rename src/{hb-open-file-private.h => hb-open-file-private.hh} (96%) rename src/{hb-open-types-private.h => hb-open-types-private.hh} (99%) rename src/{hb-ot-layout-common-private.h => hb-ot-layout-common-private.hh} (98%) rename src/{hb-ot-layout-gdef-private.h => hb-ot-layout-gdef-private.hh} (98%) rename src/{hb-ot-layout-gpos-private.h => hb-ot-layout-gpos-private.hh} (99%) rename src/{hb-ot-layout-gsub-private.h => hb-ot-layout-gsub-private.hh} (99%) rename src/{hb-ot-layout-gsubgpos-private.h => hb-ot-layout-gsubgpos-private.hh} (99%) diff --git a/src/Makefile.am b/src/Makefile.am index 9f60d266..ea2c2940 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -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) diff --git a/src/hb-open-file-private.h b/src/hb-open-file-private.hh similarity index 96% rename from src/hb-open-file-private.h rename to src/hb-open-file-private.hh index 98382881..c06bb887 100644 --- a/src/hb-open-file-private.h +++ b/src/hb-open-file-private.hh @@ -24,10 +24,10 @@ * 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 */ diff --git a/src/hb-open-types-private.h b/src/hb-open-types-private.hh similarity index 99% rename from src/hb-open-types-private.h rename to src/hb-open-types-private.hh index 051853ef..98efde47 100644 --- a/src/hb-open-types-private.h +++ b/src/hb-open-types-private.hh @@ -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 > {}; } -#endif /* HB_OPEN_TYPES_PRIVATE_H */ +#endif /* HB_OPEN_TYPES_PRIVATE_HH */ diff --git a/src/hb-ot-layout-common-private.h b/src/hb-ot-layout-common-private.hh similarity index 98% rename from src/hb-ot-layout-common-private.h rename to src/hb-ot-layout-common-private.hh index b3e2a00e..6f66118f 100644 --- a/src/hb-ot-layout-common-private.h +++ b/src/hb-ot-layout-common-private.hh @@ -24,12 +24,12 @@ * 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 */ diff --git a/src/hb-ot-layout-gdef-private.h b/src/hb-ot-layout-gdef-private.hh similarity index 98% rename from src/hb-ot-layout-gdef-private.h rename to src/hb-ot-layout-gdef-private.hh index 0ed74a8d..b8900995 100644 --- a/src/hb-ot-layout-gdef-private.h +++ b/src/hb-ot-layout-gdef-private.hh @@ -24,10 +24,10 @@ * 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 */ diff --git a/src/hb-ot-layout-gpos-private.h b/src/hb-ot-layout-gpos-private.hh similarity index 99% rename from src/hb-ot-layout-gpos-private.h rename to src/hb-ot-layout-gpos-private.hh index 8bb3f95a..86118484 100644 --- a/src/hb-ot-layout-gpos-private.h +++ b/src/hb-ot-layout-gpos-private.hh @@ -24,10 +24,10 @@ * 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 */ diff --git a/src/hb-ot-layout-gsub-private.h b/src/hb-ot-layout-gsub-private.hh similarity index 99% rename from src/hb-ot-layout-gsub-private.h rename to src/hb-ot-layout-gsub-private.hh index e4c3afb9..38aa24be 100644 --- a/src/hb-ot-layout-gsub-private.h +++ b/src/hb-ot-layout-gsub-private.hh @@ -24,10 +24,10 @@ * 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 */ diff --git a/src/hb-ot-layout-gsubgpos-private.h b/src/hb-ot-layout-gsubgpos-private.hh similarity index 99% rename from src/hb-ot-layout-gsubgpos-private.h rename to src/hb-ot-layout-gsubgpos-private.hh index 35d8f8cb..7a375097 100644 --- a/src/hb-ot-layout-gsubgpos-private.h +++ b/src/hb-ot-layout-gsubgpos-private.hh @@ -24,11 +24,11 @@ * 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 */ diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 82ceaee2..46517fa6 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -30,10 +30,10 @@ #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 diff --git a/src/main.cc b/src/main.cc index 25720c86..8d766943 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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 #include -- GitLab