Whether a trailing name was the bound hinged on the word before it being a typedef Sex had seen, which a header's pthread_t never is, and a grouped (* T) never is either: [pthread-t N] became a two-word type. Fixes #56, #60.
46 lines
683 B
Scheme
46 lines
683 B
Scheme
(module types
|
|
(add-struct
|
|
add-union
|
|
add-enum
|
|
add-typedef
|
|
add-define
|
|
|
|
type-match
|
|
type-pattern-matches?
|
|
map-fields
|
|
|
|
add-sum!
|
|
get-sum
|
|
variant-fields
|
|
reset-declarations!
|
|
|
|
add-spec!
|
|
get-spec
|
|
spec-parameter
|
|
spec-methods
|
|
add-realization!
|
|
realizes?
|
|
normalize-fields
|
|
|
|
add-method!
|
|
get-method
|
|
qualify-op
|
|
ops-key
|
|
|
|
add-name-type!
|
|
get-name-type
|
|
type-of
|
|
current-type-of
|
|
get-return-type
|
|
|
|
get-type-info
|
|
get-tag-info
|
|
get-fields
|
|
get-underlying-type
|
|
|
|
type-head?
|
|
named-arg?
|
|
array-bound?
|
|
array-element-type)
|
|
"../types.scm")
|