users-prolog
[Top][All Lists]
Advanced

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

recovering memory from complex terms


From: Edmund GRIMLEY EVANS
Subject: recovering memory from complex terms
Date: Thu, 26 Oct 2000 11:57:24 +0100
User-agent: Mutt/1.3.10i

The following functions seem to consume space in the global stack:

PlTerm Mk_Proper_List(int size, PlTerm *arg)
PlTerm Mk_List       (PlTerm *arg)
PlTerm Mk_Compound   (int functor, int arity, PlTerm *arg)
PlTerm Mk_Callable   (int functor, int arity, PlTerm *arg)

Is there any way of recovering that space?

Or should I use a different approach for passing complex temporary
structures from C into Prolog without leaking memory?

Edmund



reply via email to

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