This commit is contained in:
Vitor Santos Costa
2017-07-03 02:17:52 +01:00
parent ee9e596368
commit c0cf2b0b83
4 changed files with 62 additions and 5 deletions

View File

@@ -197,4 +197,9 @@ extern PyObject *PythonLookup(const char *s, PyObject *o);
extern PyObject *PythonLookupSpecial(const char *s);
#define YAPPy_ThrowError(id, inp, ...) \
YAPPy_ThrowError__(__FILE__, __FUNCTION__, __LINE__, id, inp, __VA_ARGS__)
extern void YAPPy_ThrowError__(const char *file, const char *function, int lineno,
yap_error_number type, term_t where, ...);
#endif