Re:Nymph: A slightly different version of C
by pavlov on Friday August 18, 2017 @11:54AM
(#15047279)
If a function takes an argument of type pointer-to-int, you can simply pass a reference to an int variable on the stack with "&myInt". The code in question seems to be using heap allocation just to get a pointer-to-int, which makes one suspect that the author doesn't know about the & operator.
[ Parent
| on HN ]
There are no comments on this comment yet.