summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-09-19 20:54:00 +0200
committerAraq <rumpf_a@web.de>2019-09-19 20:54:17 +0200
commit04c803d6df63bebd709a203c9055b21750c7927e (patch)
tree97e402503dbf925d252a43f329dcb129e4bd4c74
parent162d74db91412d98a4a67b28c1e1c9c1d79a9873 (diff)
downloadNim-04c803d6df63bebd709a203c9055b21750c7927e.tar.gz
expose more fields of TNimType
-rw-r--r--lib/system/hti.nim8
1 files 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