This commit is contained in:
Araq 2013-03-17 20:11:16 +01:00
commit 6ed18a8b24
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,8 @@
type TFoo{.exportc.} = object
x:int
var s{.exportc.}: seq[TFoo] = @[]
s.add TFoo(x: 42)
echo s[0].x