hello-
i am trying to call a ciao module from c code.
my main thread of execution is in c and i need to call a few ciao predicates and return.
it seems that Vidal Moreno Rodilla on 11/19/02 asked "Can I use a module written with ciao from a C-programmed application?". But was never answered.
from the ciao manual i understand how to create a stand-along ciao executable and it looks straight forward to call into c code from a ciao and THEN call back into ciao.
but i need something like:
write.pl ------------------------------
:- extern(ciao_call(+int)). ------------------------------
main.c ------------------------------
int main(void) { ciao_call(5); return 0; } -------------------------------
any help or advice would be much appreciated!!!
thank you,
nik livic
============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------