mirror of
https://github.com/go-vgo/robotgo
synced 2026-05-23 17:59:12 +00:00
Move type def to type.h
This commit is contained in:
parent
63f914ae62
commit
8defbda0cd
2 changed files with 8 additions and 8 deletions
|
|
@ -60,12 +60,4 @@
|
|||
#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 */
|
||||
|
|
|
|||
|
|
@ -9,6 +9,14 @@
|
|||
|
||||
/* 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 {
|
||||
size_t x;
|
||||
size_t y;
|
||||
|
|
|
|||
Loading…
Reference in a new issue