From 04c803d6df63bebd709a203c9055b21750c7927e Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 19 Sep 2019 20:54:00 +0200 Subject: expose more fields of TNimType --- lib/system/hti.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/system/hti.nim b/lib/system/hti.nim index 446468b8d..b2e90211d 100644 --- a/lib/system/hti.nim +++ b/lib/system/hti.nim @@ -89,14 +89,14 @@ type TNimType {.compilerproc.} = object when defined(gcDestructors): head*: pointer - size: int + size*: int kind: TNimKind flags: set[TNimTypeFlag] - base: ptr TNimType + base*: ptr TNimType node: ptr TNimNode # valid for tyRecord, tyObject, tyTuple, tyEnum finalizer*: pointer # the finalizer for the type - marker*: proc (p: pointer, op: int) {.nimcall, benign.} # marker proc for GC - deepcopy: proc (p: pointer): pointer {.nimcall, benign.} + marker*: proc (p: pointer, op: int) {.nimcall, benign, tags: [], raises: [].} # marker proc for GC + deepcopy: proc (p: pointer): pointer {.nimcall, benign, tags: [], raises: [].} when defined(nimTypeNames): name: cstring nextType: ptr TNimType -- cgit 1.4.1-2-gfad0