Changeset 124


Ignore:
Timestamp:
Dec 15, 2003, 1:12:31 PM (21 years ago)
Author:
Gary Byers
Message:

start to conditionalize for runtime

Location:
trunk/ccl/examples
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/examples/bridge.lisp

    r6 r124  
    2525(in-package "CCL")
    2626
     27#+darwinppc-target
    2728(require "APPLE-OBJC")
     29#+linuxppc-target
     30(require "GNU-OBJC")
    2831(require "NAME-TRANSLATION")
    2932
  • trunk/ccl/examples/process-objc-modules.lisp

    r6 r124  
    1919(defvar *objc-module-verbose* nil)
    2020
     21#+darwinppc-target
    2122(defun process-section-in-all-libraries (segname sectionname function)
    2223  "For every loaded shared library, find the section named SECTIONNAME
     
    4647              (unless (%null-ptr-p sectdata)
    4748                (funcall function sectdata (pref size :unsigned))))))))))
    48  
     49
     50#+darwinppc-target
    4951(defun process-objc-modules (f)
    5052  (process-section-in-all-libraries #$SEG_OBJC #$SECT_OBJC_MODULES f))
Note: See TracChangeset for help on using the changeset viewer.