Skip to content

Commit

Permalink
Define BARE-STRUCT-TYPE-P for FOREIGN-TYPEDEFs
Browse files Browse the repository at this point in the history
  • Loading branch information
sionescu committed May 6, 2012
1 parent 03297bd commit e5d3f6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/early-types.lisp
Expand Up @@ -308,6 +308,9 @@ Signals an error if FOREIGN-TYPE is undefined."))
(follow-typedefs (actual-type type))
type))

(defmethod bare-struct-type-p ((type foreign-typedef))
(bare-struct-type-p (follow-typedefs type)))

(defun structure-slots (type)
"The hash table of slots for the structure type."
(slots (follow-typedefs type)))
Expand Down

0 comments on commit e5d3f6e

Please sign in to comment.