summaryrefslogtreecommitdiff
path: root/source/luametatex/source/mp/mpw/mpmathbinary.w
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-09-16 15:53:42 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-09-16 15:53:42 +0200
commitc161b7d6fe142231346cc1844e6e27c0ab7718c1 (patch)
tree3fd877b8986137703e987e4651a2db8e946a0f72 /source/luametatex/source/mp/mpw/mpmathbinary.w
parente94fa4dc30ec28a6727aa85e17aaac18b76aeadb (diff)
downloadcontext-c161b7d6fe142231346cc1844e6e27c0ab7718c1.tar.gz
2022-09-16 14:41:00
Diffstat (limited to 'source/luametatex/source/mp/mpw/mpmathbinary.w')
-rw-r--r--source/luametatex/source/mp/mpw/mpmathbinary.w27
1 files changed, 27 insertions, 0 deletions
diff --git a/source/luametatex/source/mp/mpw/mpmathbinary.w b/source/luametatex/source/mp/mpw/mpmathbinary.w
new file mode 100644
index 000000000..0fb3c0a5d
--- /dev/null
+++ b/source/luametatex/source/mp/mpw/mpmathbinary.w
@@ -0,0 +1,27 @@
+% This file is part of MetaPost. The MetaPost program is in the public domain.
+
+@ @(mpmathbinary.h@>=
+# ifndef MPMATHBINARY_H
+# define MPMATHBINARY_H 1
+
+# include "mp.h"
+
+math_data *mp_initialize_binary_math (MP mp);
+
+# endif
+
+@ @c
+# include <stdio.h>
+
+@ @c
+# include "mpconfig.h"
+# include "mpmathbinary.h"
+
+extern void tex_normal_warning (const char *t, const char *p);
+
+math_data *mp_initialize_binary_math (MP mp)
+{
+ (void) (mp);
+ tex_normal_warning("mplib", "binary mode is not available.");
+ return NULL;
+}