Add dummy py_obj_is_a implementation.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/999b39f4 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/999b39f4 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/999b39f4 Branch: refs/heads/master Commit: 999b39f44d69744f08f86e5688a84d7ff0153cd8 Parents: 82d79df Author: Marvin Humphrey <[email protected]> Authored: Tue Jan 26 17:42:39 2016 -0800 Committer: Marvin Humphrey <[email protected]> Committed: Tue Feb 23 18:22:03 2016 -0800 ---------------------------------------------------------------------- runtime/python/cfext/CFBind.c | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/999b39f4/runtime/python/cfext/CFBind.c ---------------------------------------------------------------------- diff --git a/runtime/python/cfext/CFBind.c b/runtime/python/cfext/CFBind.c index e991bf6..d3c39c2 100644 --- a/runtime/python/cfext/CFBind.c +++ b/runtime/python/cfext/CFBind.c @@ -43,6 +43,14 @@ static bool Err_initialized; /**** Utility **************************************************************/ +static bool +S_py_obj_is_a(PyObject *py_obj, cfish_Class *klass) { + CFISH_UNUSED_VAR(py_obj); + CFISH_UNUSED_VAR(klass); + CFISH_THROW(CFISH_ERR, "TODO"); + CFISH_UNREACHABLE_RETURN(bool); +} + void CFBind_reraise_pyerr(cfish_Class *err_klass, cfish_String *mess) { PyObject *type, *value, *traceback;
