Nessun Oggetto
| Newsgroups | gmane.comp.gnu.prolog.general |
|---|---|
| Message-ID | <[email protected]> |
Hello to everyone! I'm a little newbie to programming in Prolog and I need some help with C-> Prolog interface. I'm programming a middleware for a math application, under a Linux distro 32-bit, using gprolog-1.3.1 and gcc 3.4.5. My problem comes when I try to create (in C) with Pl_Mk_Proper_List a list with a lot of elements and to pass it as an argument to a rule using a Pl_Query_Call. Simply when the list is too big (it depends on grid dimension from which I create the variables list) my app crashes and I got a 'Fatal Error: Segmentation Violation'. I'm guessing it is due to list's dimension because in smaller chunks everything goes fine... but it would be really nice if I can use one list (of lists) instead of a lot micro- lists (of lists). What can I do? Any helps would be really appreciated. Antonio Crislazzo ---- Nuova grafica e nuove funzionalità! Crea subito Gratis la tua nuova Casella di Posta Katamail