Changeset 6504
- Timestamp:
- May 9, 2007, 1:33:45 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/macros.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/macros.lisp
r6222 r6504 2802 2802 ordinal 2803 2803 `(foreign-type-ordinal (load-time-value (%foreign-type-or-record ',record-name)))))) 2804 (setq result (nconc result `((%set-macptr-type ,name ,ordinal-form)))) 2804 (when (eq *host-backend* *target-backend*) 2805 (setq result (nconc result `((%set-macptr-type ,name ,ordinal-form))))) 2805 2806 (if (typep ftype 'foreign-record-type) 2806 2807 (setq result … … 2855 2856 (bzero (read-from-string "#_bzero"))) 2856 2857 `(let* ((,p (,allocator ,bytes))) 2857 (%set-macptr-type ,p ,ordinal-form) 2858 ,@(when (eq *host-backend* *target-backend*) 2859 `((%set-macptr-type ,p ,ordinal-form))) 2858 2860 (,bzero ,p ,bytes) 2859 2861 ,@(%foreign-record-field-forms p ftype record-name initforms)
Note:
See TracChangeset
for help on using the changeset viewer.
