Search
lxdream.org :: lxdream/src/sh4/sh4stat.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4stat.h
changeset 736:a02d1475ccfd
prev673:44c579439d73
next905:4c17ebd9ef5e
author nkeynes
date Mon Aug 04 06:00:11 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Fix x86-64 bugs (only visible on OS X)
file annotate diff log raw
1.1 --- a/src/sh4/sh4stat.h Sun May 25 21:01:55 2008 +0000
1.2 +++ b/src/sh4/sh4stat.h Mon Aug 04 06:00:11 2008 +0000
1.3 @@ -17,11 +17,15 @@
1.4 */
1.5
1.6 #ifndef lxdream_sh4stat_H
1.7 -#define lxdream_sh4stat_H
1.8 +#define lxdream_sh4stat_H 1
1.9
1.10 #include <stdio.h>
1.11 #include <stdint.h>
1.12
1.13 +#ifdef __cplusplus
1.14 +extern "C" {
1.15 +#endif
1.16 +
1.17 typedef enum {
1.18 I_UNKNOWN,
1.19 I_ADD, I_ADDI, I_ADDC, I_ADDV,
1.20 @@ -61,10 +65,13 @@
1.21
1.22 #define SH4_INSTRUCTION_COUNT I_UNDEF
1.23
1.24 -void sh4_stats_reset( void );
1.25 -void sh4_stats_print( FILE *out );
1.26 -void sh4_stats_add( sh4_inst_id id );
1.27 -void sh4_stats_add_by_pc( uint32_t pc );
1.28 + void sh4_stats_reset( void );
1.29 + void sh4_stats_print( FILE *out );
1.30 + void sh4_stats_add( sh4_inst_id id );
1.31 + void sh4_stats_add_by_pc( uint32_t pc );
1.32
1.33 +#ifdef __cplusplus
1.34 +}
1.35 +#endif
1.36
1.37 #endif /* !lxdream_sh4stat_H */
.