notaz.gp2x.de
/
ia32rtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plugin: new simple findptr plugin
[ia32rtools.git]
/
c_auto.h
diff --git
a/c_auto.h
b/c_auto.h
index
d8122fa
..
279f335
100644
(file)
--- a/
c_auto.h
+++ b/
c_auto.h
@@
-10,11
+10,18
@@
#define s16 int16_t
#define s32 int32_t
#define s64 int64_t
#define s16 int16_t
#define s32 int32_t
#define s64 int64_t
+typedef struct {
+ u64 q;
+ u32 d[2];
+ u16 w[4];
+ u8 b[8];
+} mmxr;
+
#define bool int
#define _BYTE BYTE
#define _WORD WORD
#define _DWORD DWORD
#define bool int
#define _BYTE BYTE
#define _WORD WORD
#define _DWORD DWORD
-#define _UNKNOWN
char
+#define _UNKNOWN
uint8_t
#undef LOBYTE
#undef LOWORD
#undef HIBYTE
#undef LOBYTE
#undef LOWORD
#undef HIBYTE
@@
-32,3
+39,13
@@
#define noreturn __attribute__((noreturn))
#define noreturn __attribute__((noreturn))
+#ifdef __WINE__
+#define PCVOID LPCVOID
+#define __VALIST __ms_va_list
+#endif
+
+static inline BOOL PtInRect_sa(LPCRECT r, int x, int y)
+{
+ POINT p = { x, y };
+ return PtInRect(r, p);
+}