fix predicate search
This commit is contained in:
@@ -108,6 +108,7 @@ class YAPEngine;
|
||||
//%typemap(in) YAPTerm { $1 = new YAPTerm(pythonToYAP($input)); PyErr_Clear(); }
|
||||
%typemap(in) YAP_Term { $1 = pythonToYAP($input); PyErr_Clear(); }
|
||||
%typemap(in) Term { $1 = pythonToYAP($input); PyErr_Clear(); }
|
||||
%typemap(in) YAPTerm { YAPTerm(($1 = pythonToYAP($input))); PyErr_Clear(); }
|
||||
|
||||
%typecheck(2) Int { $1 = PyLong_Check($input); }
|
||||
%typecheck(3) double { $1 = PyFloat_Check($input); }
|
||||
|
Reference in New Issue
Block a user