Commit e94dad9d authored by Thierry Martinez's avatar Thierry Martinez

graphviz module

parent efeb9740
#include <SWI-Prolog.h>
static foreign_t
pl_say_hello(term_t to) {
char *a;
if (PL_get_atom_chars(to, &a)) {
PL_succeed;
}
PL_fail;
}
install_t
install_mylib() {
PL_register_foreign("say_hello", 1, pl_say_hello, 0);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment