summaryrefslogtreecommitdiff
path: root/dynasm/dasm_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'dynasm/dasm_proto.h')
-rw-r--r--dynasm/dasm_proto.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/dynasm/dasm_proto.h b/dynasm/dasm_proto.h
index 3e77f70b..114f0fb8 100644
--- a/dynasm/dasm_proto.h
+++ b/dynasm/dasm_proto.h
@@ -29,9 +29,6 @@
29/* Internal DynASM encoder state. */ 29/* Internal DynASM encoder state. */
30typedef struct dasm_State dasm_State; 30typedef struct dasm_State dasm_State;
31 31
32/* Action list type. */
33typedef const unsigned char *dasm_ActList;
34
35 32
36/* Initialize and free DynASM state. */ 33/* Initialize and free DynASM state. */
37DASM_FDEF void dasm_init(Dst_DECL, int maxsection); 34DASM_FDEF void dasm_init(Dst_DECL, int maxsection);
@@ -44,7 +41,7 @@ DASM_FDEF void dasm_setupglobal(Dst_DECL, void **gl, unsigned int maxgl);
44DASM_FDEF void dasm_growpc(Dst_DECL, unsigned int maxpc); 41DASM_FDEF void dasm_growpc(Dst_DECL, unsigned int maxpc);
45 42
46/* Setup encoder. */ 43/* Setup encoder. */
47DASM_FDEF void dasm_setup(Dst_DECL, dasm_ActList actionlist); 44DASM_FDEF void dasm_setup(Dst_DECL, const void *actionlist);
48 45
49/* Feed encoder with actions. Calls are generated by pre-processor. */ 46/* Feed encoder with actions. Calls are generated by pre-processor. */
50DASM_FDEF void dasm_put(Dst_DECL, int start, ...); 47DASM_FDEF void dasm_put(Dst_DECL, int start, ...);