mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +00:00
Move type def to type.h
This commit is contained in:
parent
63f914ae62
commit
8defbda0cd
@ -60,12 +60,4 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef RobotGo_64
|
|
||||||
typedef int64_t intptr;
|
|
||||||
typedef uint64_t uintptr;
|
|
||||||
#else
|
|
||||||
typedef int32_t intptr;
|
|
||||||
typedef uint32_t uintptr; // Unsigned pointer integer
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* OS_H */
|
#endif /* OS_H */
|
||||||
|
@ -9,6 +9,14 @@
|
|||||||
|
|
||||||
/* Some generic, cross-platform types. */
|
/* Some generic, cross-platform types. */
|
||||||
|
|
||||||
|
#ifdef RobotGo_64
|
||||||
|
typedef int64_t intptr;
|
||||||
|
typedef uint64_t uintptr;
|
||||||
|
#else
|
||||||
|
typedef int32_t intptr;
|
||||||
|
typedef uint32_t uintptr; // Unsigned pointer integer
|
||||||
|
#endif
|
||||||
|
|
||||||
struct _MMPoint {
|
struct _MMPoint {
|
||||||
size_t x;
|
size_t x;
|
||||||
size_t y;
|
size_t y;
|
||||||
|
Loading…
Reference in New Issue
Block a user