ming library replacements.
authorkramm <kramm>
Mon, 2 Feb 2004 10:18:36 +0000 (10:18 +0000)
committerkramm <kramm>
Mon, 2 Feb 2004 10:18:36 +0000 (10:18 +0000)
lib/action/blocks/error.h [new file with mode: 0644]
lib/action/libming.c [new file with mode: 0644]
lib/action/libming.h [new file with mode: 0644]
lib/action/ming.h [new file with mode: 0644]

diff --git a/lib/action/blocks/error.h b/lib/action/blocks/error.h
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/lib/action/libming.c b/lib/action/libming.c
new file mode 100644 (file)
index 0000000..ae86247
--- /dev/null
@@ -0,0 +1,9 @@
+#include <stdio.h>
+#include <stdarg.h>
+#include "libming.h"
+
+int SWF_versionNum = 7;
+
+void (*SWF_error)(const char *msg, ...) = 0;
+void (*SWF_warn)(const char *msg, ...) = 0;
+
diff --git a/lib/action/libming.h b/lib/action/libming.h
new file mode 100644 (file)
index 0000000..2ea6a9b
--- /dev/null
@@ -0,0 +1,15 @@
+#include <string.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+#ifndef __libming_h__
+#define __libming_h__
+
+typedef unsigned char byte;
+
+extern void (*SWF_error)(const char *msg, ...);
+extern void (*SWF_warn)(const char *msg, ...);
+
+extern int SWF_versionNum;
+
+#endif
diff --git a/lib/action/ming.h b/lib/action/ming.h
new file mode 100644 (file)
index 0000000..cbe4428
--- /dev/null
@@ -0,0 +1 @@
+#include "libming.h"