Re: [eclipse-users] R: R: ec_cleanup() segmentation fault

From: Kish Shen <kisshen_at_...5...>
Date: Fri, 08 Feb 2008 00:57:36 +0000
Hi Guiseppe,

Giuseppe Di Guglielmo wrote:
> Hi Kish,
> I will restructure my application to support constraints on ECLiPSe side. 
>
> Can I ask you how can I retrieve a value from ECLiPSe if I post the
> constraints in this way: post_goal("X < 2") ? 
>   
I am not very familiar with the C++ interface, so I may be wrong, but I 
don't think you can obtain the values of any bindings produced by the 
execution of a post_goal(const char *). To get back any results, you 
need to use the post_goal(const EC_word) form.

Cheers,

Kish
Received on Fri Feb 08 2008 - 00:57:48 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 22 2024 - 18:13:19 CET