expose more fields of TNimType
This commit is contained in:
parent
162d74db91
commit
04c803d6df
1 changed files with 4 additions and 4 deletions
|
|
@ -89,14 +89,14 @@ type
|
||||||
TNimType {.compilerproc.} = object
|
TNimType {.compilerproc.} = object
|
||||||
when defined(gcDestructors):
|
when defined(gcDestructors):
|
||||||
head*: pointer
|
head*: pointer
|
||||||
size: int
|
size*: int
|
||||||
kind: TNimKind
|
kind: TNimKind
|
||||||
flags: set[TNimTypeFlag]
|
flags: set[TNimTypeFlag]
|
||||||
base: ptr TNimType
|
base*: ptr TNimType
|
||||||
node: ptr TNimNode # valid for tyRecord, tyObject, tyTuple, tyEnum
|
node: ptr TNimNode # valid for tyRecord, tyObject, tyTuple, tyEnum
|
||||||
finalizer*: pointer # the finalizer for the type
|
finalizer*: pointer # the finalizer for the type
|
||||||
marker*: proc (p: pointer, op: int) {.nimcall, benign.} # marker proc for GC
|
marker*: proc (p: pointer, op: int) {.nimcall, benign, tags: [], raises: [].} # marker proc for GC
|
||||||
deepcopy: proc (p: pointer): pointer {.nimcall, benign.}
|
deepcopy: proc (p: pointer): pointer {.nimcall, benign, tags: [], raises: [].}
|
||||||
when defined(nimTypeNames):
|
when defined(nimTypeNames):
|
||||||
name: cstring
|
name: cstring
|
||||||
nextType: ptr TNimType
|
nextType: ptr TNimType
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue