aboutsummaryrefslogtreecommitdiffstats
path: root/libskrift_open_font_adopt_mmap.c
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_open_font_adopt_mmap.c
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 'libskrift_open_font_adopt_mmap.c')
-rw-r--r--libskrift_open_font_adopt_mmap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libskrift_open_font_adopt_mmap.c b/libskrift_open_font_adopt_mmap.c
new file mode 100644
index 0000000..964183a
--- /dev/null
+++ b/libskrift_open_font_adopt_mmap.c
@@ -0,0 +1,8 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+int
+libskrift_open_font_adopt_mmap(LIBSKRIFT_FONT **fontp, void *mem, size_t size)
+{
+ return libskrift_open_font___(fontp, NULL, NULL, mem, size);
+}