forked from alex-eg/sex
resolve typedefs in get-fields and map-fields
Now these macro helpers take in account the possibility of typedefing one type to another, and correctly find the one intended
This commit is contained in:
@@ -21,6 +21,9 @@
|
||||
(printf "%d greetings\n" greet-count)
|
||||
(describe-fields greeting)
|
||||
(printf "\n")
|
||||
;; ...and through the imported typedef for it
|
||||
(describe-fields greeting-t)
|
||||
(printf "\n")
|
||||
(var m (enum mood) grumpy)
|
||||
(printf "mood %d\n" m)
|
||||
(return 0))
|
||||
|
||||
Reference in New Issue
Block a user