diff options
| author | Damien <damien.p.george@gmail.com> | 2013-10-06 00:14:13 +0100 |
|---|---|---|
| committer | Damien <damien.p.george@gmail.com> | 2013-10-06 00:14:13 +0100 |
| commit | a2f2f7db1f42f9229df9d4f353689f24685e5dc4 (patch) | |
| tree | 3ffdfd417d142c5379942269701f510cb153b3b4 /py/emit.h | |
| parent | 5fa5ae40beb9d07f6715d8902e102a507ec37b75 (diff) | |
Almost supports arguments for inline asm functions.
Diffstat (limited to 'py/emit.h')
| -rw-r--r-- | py/emit.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -134,8 +134,9 @@ typedef struct _emit_inline_asm_t emit_inline_asm_t; typedef struct _emit_inline_asm_method_table_t { void (*start_pass)(emit_inline_asm_t *emit, pass_kind_t pass, scope_t *scope); void (*end_pass)(emit_inline_asm_t *emit); + int (*count_params)(emit_inline_asm_t *emit, int n_params, py_parse_node_t *pn_params); void (*label)(emit_inline_asm_t *emit, int label_num, qstr label_id); - void (*op)(emit_inline_asm_t *emit, qstr op, int n_args, py_parse_node_t *args); + void (*op)(emit_inline_asm_t *emit, qstr op, int n_args, py_parse_node_t *pn_args); } emit_inline_asm_method_table_t; extern const emit_inline_asm_method_table_t emit_inline_thumb_method_table; |
