Search
lxdream.org :: lxdream/src/gdlist.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gdlist.h
changeset 736:a02d1475ccfd
prev696:3b224db916e3
next1109:700c5ab26a63
author nkeynes
date Sun Dec 14 07:50:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Setup a 'proper' stackframe in translated blocks. This doesn't affect performance noticeably,
but does ensure that
a) The stack is aligned correctly on OS X with no extra effort, and
b) We can't mess up the stack and crash that way anymore.
Replace all PUSH/POP instructions (outside of prologue/epilogue) with ESP-rel moves to stack
local variables.
Finally merge ia32mac and ia32abi together, since they're pretty much the same now anyway (and
thereby simplifying maintenance a good deal)
file annotate diff log raw
1.1 --- a/src/gdlist.h Sun Jun 22 03:59:56 2008 +0000
1.2 +++ b/src/gdlist.h Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -22,6 +22,10 @@
1.4
1.5 #include "hook.h"
1.6
1.7 +#ifdef __cplusplus
1.8 +extern "C" {
1.9 +#endif
1.10 +
1.11 typedef gboolean (*gdrom_list_change_hook_t)(gboolean list_changed, int selection, void *user_data);
1.12 DECLARE_HOOK(gdrom_list_change_hook, gdrom_list_change_hook_t);
1.13
1.14 @@ -64,4 +68,8 @@
1.15 */
1.16 gboolean gdrom_list_set_selection(int posn);
1.17
1.18 +#ifdef __cplusplus
1.19 +}
1.20 +#endif
1.21 +
1.22 #endif /* lxdream_gdlist_H */
.