Make it an error to include non-top-level headers
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 12 Apr 2012 17:17:44 +0000 (13:17 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 12 Apr 2012 17:17:44 +0000 (13:17 -0400)
commitd1c9eb458c843215da8df84b596bfae51fee135b
treec819b3de06b7bf0c1ff43a13072d97d98203ba4a
parent323190c27b80cddc9b3c42d19f1f243e2acb2411
Make it an error to include non-top-level headers

Users should #include <hb.h> (or hb-ft.h, hb-glib.h, etc), but
never things like hb-shape.h directly.  This makes it easier to
refactor headers later on without breaking compatibility.
19 files changed:
src/hb-blob.h
src/hb-buffer.h
src/hb-common.h
src/hb-font.h
src/hb-ft.h
src/hb-glib.h
src/hb-gobject.h
src/hb-graphite2.h
src/hb-icu.h
src/hb-ot-layout.h
src/hb-ot-shape.h
src/hb-ot-tag.h
src/hb-ot.h
src/hb-private.hh
src/hb-shape.h
src/hb-unicode.h
src/hb-uniscribe.h
src/hb-version.h.in
src/hb.h