users-prolog
[Top][All Lists]
Advanced

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

segmentation-fault when calling 'Mk_Variable()'


From: Dietmar Dreyer
Subject: segmentation-fault when calling 'Mk_Variable()'
Date: Fri, 26 Jan 2001 09:03:28 +0100

Hi,
I tried to interface C with Prolog and wanted to create a Prolog-Variable
mit a call to 'Mk_Variable()', but I always get a segmentation-fault, even
if I just call this function without any assignment .
For instance:

PlTerm args[2];
args[0] = Mk_Variable();

or just:
Mk_Variable();

Can anyone give me a hint on how to fix this problem?



reply via email to

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