next up previous
Next: C-Source file (lowercase.c) Up: Foreign Language Interface Previous: Embedding SWI-Prolog in

Example of Using the Foreign Interface

Below is an example showing all stages of the declaration of a foreign predicate that transforms atoms possibly holding uppercase letters into an atom only holding lower case letters. Figure gif shows the C-source file.





Passani Luca
Tue Nov 14 08:58:33 MET 1995