Changeset 135
- Timestamp:
- Dec 19, 2003, 1:37:50 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/process-objc-modules.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/process-objc-modules.lisp
r124 r135 17 17 (in-package "CCL") 18 18 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 19 28 (defvar *objc-module-verbose* nil) 20 29 21 #+darwinppc-target 30 22 31 (defun process-section-in-all-libraries (segname sectionname function) 23 32 "For every loaded shared library, find the section named SECTIONNAME … … 48 57 (funcall function sectdata (pref size :unsigned)))))))))) 49 58 50 #+darwinppc-target51 59 (defun process-objc-modules (f) 52 60 (process-section-in-all-libraries #$SEG_OBJC #$SECT_OBJC_MODULES f)) … … 188 196 |# 189 197 198 ) 190 199 (provide "PROCESS-COCOA-MODULES") 191 200
Note:
See TracChangeset
for help on using the changeset viewer.
