Add dummy routine for fetching PyTypeObject.
Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/9bbb13f4 Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/9bbb13f4 Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/9bbb13f4 Branch: refs/heads/master Commit: 9bbb13f48240d2365b02371bf9f9ce23c7e30c34 Parents: 2b65f36 Author: Marvin Humphrey <[email protected]> Authored: Wed Jan 27 17:06:12 2016 -0800 Committer: Marvin Humphrey <[email protected]> Committed: Tue Feb 23 18:22:04 2016 -0800 ---------------------------------------------------------------------- runtime/python/cfext/CFBind.c | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/9bbb13f4/runtime/python/cfext/CFBind.c ---------------------------------------------------------------------- diff --git a/runtime/python/cfext/CFBind.c b/runtime/python/cfext/CFBind.c index e7d15ed..9ecd11e 100644 --- a/runtime/python/cfext/CFBind.c +++ b/runtime/python/cfext/CFBind.c @@ -42,6 +42,9 @@ static bool Err_initialized; +static PyTypeObject* +S_get_cached_py_type(cfish_Class *klass); + /**** Utility **************************************************************/ static bool @@ -693,6 +696,13 @@ CFISH_Obj_To_Host_IMP(cfish_Obj *self) { /**** Class ****************************************************************/ +static PyTypeObject* +S_get_cached_py_type(cfish_Class *self) { + // FIXME: dummy implementation + CFISH_UNUSED_VAR(self); + return NULL; +} + cfish_Obj* CFISH_Class_Make_Obj_IMP(cfish_Class *self) { CFISH_UNUSED_VAR(self);
