summaryrefslogtreecommitdiff
path: root/source/pdf/js/pdf-jsimp-cpp.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2014-02-14 14:14:13 +0100
committerTor Andersson <tor.andersson@artifex.com>2014-02-14 14:14:39 +0100
commit520dbcb30f9f303fa13f4f2dbd5e7589dd5d7ca6 (patch)
tree61990a1b6f01d6a1530b5366cd0694008f86eff8 /source/pdf/js/pdf-jsimp-cpp.c
parent460c7c54f83c19ac84f54b8d79f71fcfa0b73d91 (diff)
downloadmupdf-520dbcb30f9f303fa13f4f2dbd5e7589dd5d7ca6.tar.xz
pdf-js: Pass a name string to type constructor.
Diffstat (limited to 'source/pdf/js/pdf-jsimp-cpp.c')
-rw-r--r--source/pdf/js/pdf-jsimp-cpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/js/pdf-jsimp-cpp.c b/source/pdf/js/pdf-jsimp-cpp.c
index 7e8031a6..a23c15f6 100644
--- a/source/pdf/js/pdf-jsimp-cpp.c
+++ b/source/pdf/js/pdf-jsimp-cpp.c
@@ -26,7 +26,7 @@ void pdf_drop_jsimp(pdf_jsimp *imp)
}
}
-pdf_jsimp_type *pdf_jsimp_new_type(pdf_jsimp *imp, pdf_jsimp_dtr *dtr)
+pdf_jsimp_type *pdf_jsimp_new_type(pdf_jsimp *imp, pdf_jsimp_dtr *dtr, char *name)
{
pdf_jsimp_type *type = NULL;
const char *err = pdf_jsimp_new_type_cpp(imp, dtr, &type);