19 Dec 13:54
Re: Foreign C with pointers
Lemmih <lemmih <at> gmail.com>
2007-12-19 12:54:54 GMT
2007-12-19 12:54:54 GMT
On Dec 19, 2007 3:05 AM, John Vogel <jpvogel1 <at> gmail.com> wrote: > > > > Lol, I am surprised that the library even compiled without the "return > addr;". > > But, this definition is correct: Well, yeah, for some value of correct. It works in this case but it will most likely bite you if you use it in any other way. > The other 2 definitions don't even compile. I posted two new type-signatures and two new definitions. I'm quite sure the right combination would work. -- -- Cheers, Lemmih
RSS Feed