Temp hack to omit callback functions
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/305412a9 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/305412a9 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/305412a9 Branch: refs/heads/c-bindings-wip1 Commit: 305412a956dcda46c89acbca6dd615b23639cf2e Parents: f797438 Author: Nick Wellnhofer <[email protected]> Authored: Fri Nov 23 01:07:37 2012 +0100 Committer: Nick Wellnhofer <[email protected]> Committed: Tue Dec 4 20:57:58 2012 +0100 ---------------------------------------------------------------------- clownfish/compiler/src/CFCBindClass.c | 4 ++-- clownfish/compiler/src/CFCBindMethod.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/305412a9/clownfish/compiler/src/CFCBindClass.c ---------------------------------------------------------------------- diff --git a/clownfish/compiler/src/CFCBindClass.c b/clownfish/compiler/src/CFCBindClass.c index 2bebdc3..2fd6105 100644 --- a/clownfish/compiler/src/CFCBindClass.c +++ b/clownfish/compiler/src/CFCBindClass.c @@ -321,11 +321,11 @@ CFCBindClass_to_c_data(CFCBindClass *self) { } // Declare (but don't define) callback. - if (CFCMethod_novel(method) && !CFCMethod_final(method)) { + /*if (CFCMethod_novel(method) && !CFCMethod_final(method)) { char *cb_dec = CFCBindMeth_callback_dec(method); cb_funcs = CFCUtil_cat(cb_funcs, cb_dec, "\n", NULL); FREEMEM(cb_dec); - } + }*/ // Define MethodSpec struct. if (meth_num != 0) { http://git-wip-us.apache.org/repos/asf/lucy/blob/305412a9/clownfish/compiler/src/CFCBindMethod.c ---------------------------------------------------------------------- diff --git a/clownfish/compiler/src/CFCBindMethod.c b/clownfish/compiler/src/CFCBindMethod.c index 85ac99e..c89af0a 100644 --- a/clownfish/compiler/src/CFCBindMethod.c +++ b/clownfish/compiler/src/CFCBindMethod.c @@ -193,7 +193,7 @@ CFCBindMeth_spec_def(CFCMethod *method) { int is_novel = CFCMethod_novel(method); const char *full_override_sym = "NULL"; - if (is_novel && !CFCMethod_final(method)) { + if (0 && is_novel && !CFCMethod_final(method)) { full_override_sym = CFCMethod_full_override_sym(method); }
