Repository: lucy Updated Branches: refs/heads/master 8782bd56b -> 38fea560f
Adjust for Clownfish Perl overloading changes Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/38fea560 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/38fea560 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/38fea560 Branch: refs/heads/master Commit: 38fea560f11f38a60be90b631fa28cbf6b8db4d5 Parents: 8782bd5 Author: Nick Wellnhofer <[email protected]> Authored: Tue May 12 18:29:21 2015 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Tue May 12 20:06:20 2015 +0200 ---------------------------------------------------------------------- c/src/Lucy/Document/Doc.c | 7 ------- core/Lucy/Document/Doc.cfh | 3 --- perl/xs/Lucy/Document/Doc.c | 10 ---------- 3 files changed, 20 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/38fea560/c/src/Lucy/Document/Doc.c ---------------------------------------------------------------------- diff --git a/c/src/Lucy/Document/Doc.c b/c/src/Lucy/Document/Doc.c index 79f1728..adcd316 100644 --- a/c/src/Lucy/Document/Doc.c +++ b/c/src/Lucy/Document/Doc.c @@ -85,13 +85,6 @@ Doc_Extract_IMP(Doc *self, String *field) { return INCREF(Hash_Fetch(hash, field)); } -void* -Doc_To_Host_IMP(Doc *self) { - UNUSED_VAR(self); - THROW(ERR, "TODO"); - UNREACHABLE_RETURN(void*); -} - Hash* Doc_Dump_IMP(Doc *self) { UNUSED_VAR(self); http://git-wip-us.apache.org/repos/asf/lucy/blob/38fea560/core/Lucy/Document/Doc.cfh ---------------------------------------------------------------------- diff --git a/core/Lucy/Document/Doc.cfh b/core/Lucy/Document/Doc.cfh index 94996a6..d30a6b3 100644 --- a/core/Lucy/Document/Doc.cfh +++ b/core/Lucy/Document/Doc.cfh @@ -93,9 +93,6 @@ public class Lucy::Document::Doc inherits Clownfish::Obj { public incremented Doc* Load(Doc *self, Obj *dump); - void* - To_Host(Doc *self); - public void Destroy(Doc *self); } http://git-wip-us.apache.org/repos/asf/lucy/blob/38fea560/perl/xs/Lucy/Document/Doc.c ---------------------------------------------------------------------- diff --git a/perl/xs/Lucy/Document/Doc.c b/perl/xs/Lucy/Document/Doc.c index 9f9f5fe..d65062d 100644 --- a/perl/xs/Lucy/Document/Doc.c +++ b/perl/xs/Lucy/Document/Doc.c @@ -171,16 +171,6 @@ LUCY_Doc_Extract_IMP(lucy_Doc *self, cfish_String *field) { return retval; } -void* -LUCY_Doc_To_Host_IMP(lucy_Doc *self) { - dTHX; - LUCY_Doc_To_Host_t super_to_host - = CFISH_SUPER_METHOD_PTR(LUCY_DOC, LUCY_Doc_To_Host); - SV *perl_obj = (SV*)super_to_host(self); - XSBind_enable_overload(aTHX_ perl_obj); - return perl_obj; -} - cfish_Hash* LUCY_Doc_Dump_IMP(lucy_Doc *self) { dTHX;
