The link to Firgure 8 is missing in the docs for PL_call():
http://www.swi-prolog.org/pldoc/man?section=foreign-create-query
The link to Firgure 8 is missing in the docs for PL_call():
http://www.swi-prolog.org/pldoc/man?section=foreign-create-query