mirror of
https://github.com/pevans/erc-c.git
synced 2025-01-18 10:30:37 +00:00
Add new REFLECT macro to allow other code to define funcs
This commit is contained in:
parent
318107d18f
commit
b7f2cabb3e
@ -57,6 +57,13 @@ struct vm_reflect {
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
* Allow us to either declare or define a new reflect function that can
|
||||
* be hooked into a reflect struct
|
||||
*/
|
||||
#define REFLECT(x) \
|
||||
void x(vm_reflect *)
|
||||
|
||||
extern int vm_reflect_cpu_info(vm_reflect *);
|
||||
extern int vm_reflect_disasm_off(vm_reflect *);
|
||||
extern int vm_reflect_disasm_on(vm_reflect *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user