Ignore:
Timestamp:
Jun 11, 2010, 7:51:54 PM (9 years ago)
Author:
rme
Message:

Don't need to define foreign types for NSInteger, etc., now that we
target Leopard.

Don't need Carbon (so use only :cocoa interfaces for both apple-objc
and cocotron-objc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/objc-bridge/objc-runtime.lisp

    r13700 r13812  
    4343
    4444(eval-when (:compile-toplevel :execute)
    45   #+apple-objc
    46   (progn
    47     (use-interface-dir :cocoa)
    48     #+nomore
    49     (use-interface-dir :carbon))        ; need :carbon for things in this file
    50   #+cocotron-objc
     45  #+(or apple-objc cocotron-objc)
    5146  (use-interface-dir :cocoa)
    5247  #+gnu-objc
     
    5954  (require "NAME-TRANSLATION")
    6055  (require "OBJC-CLOS"))
    61 
    62 ;;; NSInteger and NSUInteger probably belong here.
    63 ;;; CGFloat not so much.
    64 
    65 #-(or apple-objc-2.0 cocotron-objc)
    66 (progn
    67   (def-foreign-type #>CGFloat :float)
    68   (def-foreign-type #>NSUInteger :unsigned)
    69   (def-foreign-type #>NSInteger :signed)
    70   )
    7156
    7257(defconstant +cgfloat-zero+
Note: See TracChangeset for help on using the changeset viewer.