Typedef for Dei/Deo
This commit is contained in:
parent
507a4b838c
commit
1d01e74635
|
@ -36,6 +36,9 @@ typedef struct Uxn {
|
|||
void (*deo)(struct Uxn *u, Uint8 addr, Uint8 value);
|
||||
} Uxn;
|
||||
|
||||
int uxn_boot(Uxn *u, Uint8 *ram, Uint8 (*dei)(struct Uxn *, Uint8), void (*deo)(struct Uxn *, Uint8, Uint8));
|
||||
typedef Uint8 Dei(Uxn *u, Uint8 addr);
|
||||
typedef void Deo(Uxn *u, Uint8 addr, Uint8 value);
|
||||
|
||||
int uxn_boot(Uxn *u, Uint8 *ram, Dei *dei, Deo *deo);
|
||||
int uxn_eval(Uxn *u, Uint16 pc);
|
||||
int uxn_halt(Uxn *u, Uint8 instr, Uint8 err, Uint16 addr);
|
||||
|
|
Loading…
Reference in New Issue