NSNotFound for both 32 bit and 64 bit environments
parent
b1b3483ce0
commit
76f561ba3c
|
@ -1,9 +1,11 @@
|
||||||
! Copyright (C) 2006, 2009 Slava Pestov
|
! Copyright (C) 2006, 2009 Slava Pestov
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: alien.c-types alien.syntax classes.struct cocoa.runtime
|
USING: alien.c-types alien.syntax classes.struct cocoa.runtime
|
||||||
core-graphics.types ;
|
core-graphics.types kernel literals layouts ;
|
||||||
IN: cocoa.types
|
IN: cocoa.types
|
||||||
|
|
||||||
|
CONSTANT: NSNotFound $[ 32bit? 0x7fffffff 0x7fffffffffffffff ? ]
|
||||||
|
|
||||||
TYPEDEF: long NSInteger
|
TYPEDEF: long NSInteger
|
||||||
TYPEDEF: ulong NSUInteger
|
TYPEDEF: ulong NSUInteger
|
||||||
|
|
||||||
|
|
|
@ -187,8 +187,6 @@ M: send-touchbar-command send-queued-gesture
|
||||||
yield
|
yield
|
||||||
] [ 3drop ] if ;
|
] [ 3drop ] if ;
|
||||||
|
|
||||||
CONSTANT: NSNotFound 9223372036854775807 inline
|
|
||||||
|
|
||||||
IMPORT: NSAttributedString
|
IMPORT: NSAttributedString
|
||||||
|
|
||||||
<PRIVATE
|
<PRIVATE
|
||||||
|
|
Loading…
Reference in New Issue