sub_cc.c: minor cleanup
[mplayer/greg.git] / loader / wrapper.h
bloba7c7da224eb985554e1fd101ed86914c61e35eaa
1 #ifndef MPLAYER_WRAPPER_H
2 #define MPLAYER_WRAPPER_H
4 #include <inttypes.h>
6 typedef struct {
7 uint32_t edi, esi, ebp, esp, ebx, edx, ecx, eax;
8 } reg386_t;
10 typedef int (*wrapper_func_t)(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags);
12 extern wrapper_func_t report_entry, report_ret;
14 extern void (*wrapper_target)(void);
16 int wrapper(void);
17 int null_call(void);
19 #endif /* MPLAYER_WRAPPER_H */