file copied from ming 0.3alpha2
[swftools.git] / lib / action / assembler.h
diff --git a/lib/action/assembler.h b/lib/action/assembler.h
new file mode 100644 (file)
index 0000000..c8e0388
--- /dev/null
@@ -0,0 +1,21 @@
+/* assembler.h
+ * 
+ * $Id: assembler.h,v 1.1 2004/02/02 10:12:34 kramm Exp $
+ * 
+ * Notice: This header file contains declarations of functions and types that
+ * are just used internally. All library functions and types that are supposed
+ * to be publicly accessable are defined in ./src/ming.h.
+ */
+
+#ifndef SWF_ASSEMBLER_H_INCLUDED
+#define SWF_ASSEMBLER_H_INCLUDED
+
+#include "ming.h"
+#include "compile.h"
+
+extern Buffer asmBuffer;
+
+void bufferPatchLength(Buffer buffer, int len);
+int bufferBranchTarget(Buffer buffer, char *label);
+
+#endif /* SWF_ASSEMBLER_H_INCLUDED */