Mirror of
forum.nim-lang.org
index
2495 :: var parameter
[2016-08-28T03:58:48+02:00]
View Orginal
h42
(orginal)
[2016-08-28T03:58:48+02:00]
view original
Can I assume that a var parameter will always be a pointer where I can use (addr varParm) as copymem destination. It seems to work but I can copy to tempory local variable and use normal assignment if there is no guarentee it will always work.
Araq
(orginal)
[2016-08-29T10:40:39+02:00]
view original
Yes, you can assume this.
h42
(orginal)
[2016-08-30T02:05:22+02:00]
view original
Thank you Araq.