Lemmih | 19 Dec 13:54
Picon
Gravatar

Re: Foreign C with pointers

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

Gmane