aboutsummaryrefslogtreecommitdiffstats
path: root/libskrift.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-08-17 17:44:35 +0200
committerMattias Andrée <maandree@kth.se>2021-08-17 17:44:35 +0200
commit6b8fc61b772b394d7a205531b492101c519dc47d (patch)
tree85d441e2de4d57e9432a5d0173aa48c214ebb39c /libskrift.h
parentm (diff)
downloadlibskrift-6b8fc61b772b394d7a205531b492101c519dc47d.tar.gz
libskrift-6b8fc61b772b394d7a205531b492101c519dc47d.tar.bz2
libskrift-6b8fc61b772b394d7a205531b492101c519dc47d.tar.xz
Add support for gzip compression and prepare for PSF support
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--libskrift.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libskrift.h b/libskrift.h
index 4c8cd25..41814e6 100644
--- a/libskrift.h
+++ b/libskrift.h
@@ -233,6 +233,12 @@ _LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__)))
int libskrift_open_font_mem(LIBSKRIFT_FONT **, const void *, size_t);
_LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__)))
+int libskrift_open_font_adopt_mem(LIBSKRIFT_FONT **, void *, size_t);
+
+_LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__)))
+int libskrift_open_font_adopt_mmap(LIBSKRIFT_FONT **, void *, size_t);
+
+_LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__)))
int libskrift_open_font_fd(LIBSKRIFT_FONT **, int);
_LIBSKRIFT_GCC_ONLY(__attribute__((__nonnull__)))