Parameter Passing between Prolog DLL and C Function
Posted: 30 May 2021 5:30
Hi,
I would like to understand how to pass non-primitive data types between Prolog DLL and an external C program. For example, how to pass a list of symbols, or compound structures from the DLL to an external C function (and vice versa)? Is there a way to directly make use of Prolog Foundation Classes in the C environment (through VIP header and LIB files)?
Thanks for your help.
Regards,
Rangarajan
I would like to understand how to pass non-primitive data types between Prolog DLL and an external C program. For example, how to pass a list of symbols, or compound structures from the DLL to an external C function (and vice versa)? Is there a way to directly make use of Prolog Foundation Classes in the C environment (through VIP header and LIB files)?
Thanks for your help.
Regards,
Rangarajan