Adds documentation on skipTypes and mapType
This commit is contained in:
parent
e46a735bb5
commit
f8ea5f1a37
2 changed files with 5 additions and 0 deletions
|
|
@ -122,6 +122,7 @@ proc mapSetType(typ: PType): TCTypeKind =
|
|||
else: result = ctArray
|
||||
|
||||
proc mapType(typ: PType): TCTypeKind =
|
||||
## Maps a nimrod type to a C type
|
||||
case typ.kind
|
||||
of tyNone, tyStmt: result = ctVoid
|
||||
of tyBool: result = ctBool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue