Changeset 135


Ignore:
Timestamp:
Dec 19, 2003, 1:37:50 PM (21 years ago)
Author:
Gary Byers
Message:

This is all #+apple-objc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/examples/process-objc-modules.lisp

    r124 r135  
    1717(in-package "CCL")
    1818
     19(#-(or apple-objc gnu-objc)
     20   (eval-when (:compile-toplevel :load-toplevel :execute)
     21     #+darwinppc-target (pushnew :apple-objc *features*)
     22     #+linuxppc-target (pushnew :gnu-objc *features*)
     23     #-(or darwinppc-target linuxppc-target)
     24     (error "Not sure what ObjC runtime system to use.")))
     25
     26#+apple-objc
     27(progn
    1928(defvar *objc-module-verbose* nil)
    2029
    21 #+darwinppc-target
     30
    2231(defun process-section-in-all-libraries (segname sectionname function)
    2332  "For every loaded shared library, find the section named SECTIONNAME
     
    4857                (funcall function sectdata (pref size :unsigned))))))))))
    4958
    50 #+darwinppc-target
    5159(defun process-objc-modules (f)
    5260  (process-section-in-all-libraries #$SEG_OBJC #$SECT_OBJC_MODULES f))
     
    188196|#
    189197
     198)
    190199(provide "PROCESS-COCOA-MODULES")
    191200
Note: See TracChangeset for help on using the changeset viewer.