users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning structures to Prolog from C code


From: Fergus Henderson
Subject: Re: Returning structures to Prolog from C code
Date: Thu, 6 Dec 2001 20:08:37 +1100
User-agent: Mutt/1.3.22i

On 05-Dec-2001, FORT David <address@hidden> wrote:
>  PlTerm args[4];
...
>  tmp = Mk_Compound( functor_atom, 3, (PlTerm *)&args );

Instead of `(PlTerm *)&args', that should surely just be `args'.

-- 
Fergus Henderson <address@hidden>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]