Helps with avoiding many "extern C" declarations in source files.
hb-buffer-private.hh \
hb-common.c \
hb-font.cc \
- hb-font-private.hh \
+ hb-font-private.h \
hb-object-private.h \
hb-open-file-private.hh \
hb-open-type-private.hh \
HBCFLAGS += $(FREETYPE_CFLAGS)
HBLIBS += $(FREETYPE_LIBS)
HBSOURCES += \
- hb-ft.cc \
+ hb-ft.c \
$(NULL)
HBHEADERS += \
hb-ft.h \
for x in *.h *.hh ; do
tag=`echo "$x" | tr 'a-z.-' 'A-Z_'`
- lines=`grep "$tag" "$x" | wc -l`
+ lines=`grep "\<$tag\>" "$x" | wc -l`
if test "x$lines" != x3; then
echo "Ouch, header file $x does not have correct preprocessor guards"
stat=1
* Red Hat Author(s): Behdad Esfahbod
*/
-#ifndef HB_FONT_PRIVATE_HH
-#define HB_FONT_PRIVATE_HH
+#ifndef HB_FONT_PRIVATE_H
+#define HB_FONT_PRIVATE_H
#include "hb-private.h"
HB_END_DECLS
-#endif /* HB_FONT_PRIVATE_HH */
+#endif /* HB_FONT_PRIVATE_H */
#include "hb-private.h"
-#include "hb-font-private.hh"
+#include "hb-font-private.h"
#include "hb-blob-private.h"
#include "hb-open-file-private.hh"
#include "hb-ft.h"
-#include "hb-font-private.hh"
+#include "hb-font-private.h"
#include FT_TRUETYPE_TABLES_H
#include <graphite/GrConstants.h>
#include <graphite/Segment.h>
#include "hb-buffer-private.hh"
-#include "hb-font-private.hh"
+#include "hb-font-private.h"
#include "hb-graphite.h"
#include <map>
#include "hb-ot-layout-common-private.hh"
-#include "hb-font-private.hh"
+#include "hb-font-private.h"
/*
#include "hb-ot-layout.h"
#include "hb-ot-head-private.hh"
-#include "hb-font-private.hh"
+#include "hb-font-private.h"
#include "hb-buffer-private.hh"