]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/cocoa/application/application.factor
Remove ENUM: f and replace uses with CONSTANTs.
[factor.git] / basis / cocoa / application / application.factor
index df56ce5c4c43568bf9cbdcd5226d64aac3a21156..db1eefca14fcdef89c5188c0a1b1a39086284625 100644 (file)
@@ -8,10 +8,9 @@ IN: cocoa.application
 
 : <NSString> ( str -- alien ) <CFString> -> autorelease ;
 
-C-ENUM:
-NSApplicationDelegateReplySuccess
-NSApplicationDelegateReplyCancel
-NSApplicationDelegateReplyFailure ;
+CONSTANT: NSApplicationDelegateReplySuccess 0
+CONSTANT: NSApplicationDelegateReplyCancel  1
+CONSTANT: NSApplicationDelegateReplyFailure 2
 
 : with-autorelease-pool ( quot -- )
     NSAutoreleasePool -> new [ call ] [ -> release ] bi* ; inline