mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[depend] Move public header from libharfbuzz to libharfbuzz-subset
Rename hb-depend.h to hb-subset-depend.h and include it from hb-subset.h instead of hb.h, so the depend API is scoped entirely to the subset library. The implementation was already compiled into libharfbuzz-subset; this aligns the public header with that. Assisted-by: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
b421888ce4
commit
0b29fc9be4
7 files changed
+9
-12
No files matched your search
@@ -125,7 +125,7 @@
|
||||
|
||||
<chapter id="depend-api">
|
||||
<title>Depend API</title>
|
||||
<xi:include href="xml/hb-depend.xml"/>
|
||||
<xi:include href="xml/hb-subset-depend.xml"/>
|
||||
</chapter>
|
||||
|
||||
<!--chapter id="object-tree">
|
||||
|
||||
@@ -1004,7 +1004,7 @@ hb_subset_cff2_get_charstrings_index
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>hb-depend</FILE>
|
||||
<FILE>hb-subset-depend</FILE>
|
||||
hb_subset_depend_t
|
||||
hb_subset_depend_entry_t
|
||||
hb_subset_depend_edge_flags_t
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
|
||||
#include "hb.hh"
|
||||
|
||||
#include "hb-depend.h"
|
||||
#include "hb-subset-depend.h"
|
||||
#include "hb-depend-data.hh"
|
||||
|
||||
|
||||
|
||||
@@ -24,13 +24,10 @@
|
||||
* Adobe Author(s): Skef Iterum
|
||||
*/
|
||||
|
||||
#if !defined(HB_H_IN) && !defined(HB_NO_SINGLE_HEADER_ERROR)
|
||||
#error "Include <hb.h> instead."
|
||||
#endif
|
||||
|
||||
#ifndef HB_DEPEND_H
|
||||
#define HB_DEPEND_H
|
||||
#ifndef HB_SUBSET_DEPEND_H
|
||||
#define HB_SUBSET_DEPEND_H
|
||||
|
||||
#include "hb.h"
|
||||
|
||||
HB_BEGIN_DECLS
|
||||
|
||||
@@ -129,4 +126,4 @@ hb_subset_depend_destroy (hb_subset_depend_t *depend);
|
||||
|
||||
HB_END_DECLS
|
||||
|
||||
#endif /* HB_DEPEND_H */
|
||||
#endif /* HB_SUBSET_DEPEND_H */
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "hb.h"
|
||||
#include "hb-ot.h"
|
||||
#include "hb-subset-depend.h"
|
||||
|
||||
HB_BEGIN_DECLS
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "hb-blob.h"
|
||||
#include "hb-buffer.h"
|
||||
#include "hb-common.h"
|
||||
#include "hb-depend.h"
|
||||
#include "hb-deprecated.h"
|
||||
#include "hb-draw.h"
|
||||
#include "hb-face.h"
|
||||
|
||||
+1
-1
@@ -434,7 +434,7 @@ hb_subset_sources = files(
|
||||
hb_subset_headers = files(
|
||||
'hb-subset.h',
|
||||
'hb-subset-serialize.h',
|
||||
'hb-depend.h',
|
||||
'hb-subset-depend.h',
|
||||
)
|
||||
|
||||
hb_gobject_sources = files(
|
||||
|
||||
Reference in new issue
Block a user