Skip to content

Commit c5bbe90

Browse files
committedAug 5, 2020
(#17) WindowHandle now refers to int64_t on all platforms
1 parent d656baa commit c5bbe90

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
 

Diff for: ‎src/types.h

+2-5
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,12 @@ H_INLINE MMRect MMRectMake(int64_t x, int64_t y, int64_t width, int64_t height)
6161
#define CGPointFromMMPoint(p) CGPointMake((CGFloat)(p).x, (CGFloat)(p).y)
6262
#define MMPointFromCGPoint(p) MMPointMake((size_t)(p).x, (size_t)(p).y)
6363

64-
typedef int64_t WindowHandle;
65-
typedef int64_t PID;
66-
6764
#elif defined(IS_WINDOWS)
6865

6966
#define MMPointFromPOINT(p) MMPointMake((size_t)p.x, (size_t)p.y)
7067

71-
typedef int64_t WindowHandle;
72-
7368
#endif
7469

70+
typedef int64_t WindowHandle;
71+
7572
#endif /* TYPES_H */

0 commit comments

Comments
 (0)
Please sign in to comment.