aboutsummaryrefslogtreecommitdiffstats
path: root/libskrift_open_font_adopt_mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'libskrift_open_font_adopt_mem.c')
-rw-r--r--libskrift_open_font_adopt_mem.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/libskrift_open_font_adopt_mem.c b/libskrift_open_font_adopt_mem.c
new file mode 100644
index 0000000..1e5e904
--- /dev/null
+++ b/libskrift_open_font_adopt_mem.c
@@ -0,0 +1,8 @@
+/* See LICENSE file for copyright and license details. */
+#include "common.h"
+
+int
+libskrift_open_font_adopt_mem(LIBSKRIFT_FONT **fontp, void *mem, size_t size)
+{
+ return libskrift_open_font___(fontp, NULL, mem, NULL, size);
+}