This commit is contained in:
Vitor Santos Costa
2016-08-21 23:31:21 -05:00
parent 9e59f755ff
commit fe1a677778
5 changed files with 13 additions and 3 deletions

View File

@@ -56,7 +56,6 @@ static foreign_t python_f(term_t tmod, term_t fname, term_t tf) {
if (pF == NULL || !PyCallable_Check(pF)) {
return FALSE;
}
printf("Module=%s ok\n", s);
return python_to_ptr(pF, tf);
}

View File

@@ -0,0 +1,5 @@
:- if( current_prolog_flag(apple, true) ).
:- putenv( 'LC_CTYPE', 'en_us:UTF-8'),
:- endif.