Changeset 447
- Timestamp:
- Jan 31, 2004, 6:55:22 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/foreign-types.lisp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/foreign-types.lisp
r418 r447 564 564 565 565 (def-foreign-type-method (root :unparse) (type) 566 `(!!unknown-foreign-type!! ,(type-of type))) 566 (if (eq type *void-foreign-type*) 567 :void 568 `(!!unknown-foreign-type!! ,(type-of type)))) 567 569 568 570 (def-foreign-type-method (root :type=) (type1 type2) … … 841 843 (def-foreign-type-method (pointer :unparse) (type) 842 844 (let ((to (foreign-pointer-type-to type))) 843 `( * ,(if to845 `(:* ,(if to 844 846 (%unparse-foreign-type to) 845 847 t)))) … … 1057 1059 (def-foreign-type-method (record :unparse) (type) 1058 1060 `(,(case (foreign-record-type-kind type) 1059 (:struct 'struct)1060 (:union 'union)1061 (:struct :struct) 1062 (:union :union) 1061 1063 (t '???)) 1062 1064 ,(foreign-record-type-name type) … … 1427 1429 1428 1430 (def-foreign-type void (root)) 1431 (defvar *void-foreign-type* (parse-foreign-type :void) 1429 1432 (def-foreign-type address (* :void)) 1430 1433
Note:
See TracChangeset
for help on using the changeset viewer.
