Move type def to type.h

This commit is contained in:
vcaesar 2022-01-22 12:53:04 -04:00
parent 63f914ae62
commit 8defbda0cd
2 changed files with 8 additions and 8 deletions

View File

@ -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 */

View File

@ -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;