lucy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject [lucy-commits] [08/11] git commit: refs/heads/ivars-wip1 - Fixup Lucy Perl bindings IVARS glitches.
Date Thu, 11 Jul 2013 22:33:33 GMT
Fixup Lucy Perl bindings IVARS glitches.

(Will be folded into earlier commit before merging to master.)


Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/f3426ad3
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/f3426ad3
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/f3426ad3

Branch: refs/heads/ivars-wip1
Commit: f3426ad3845a484867ee9b7c62a674164be3514d
Parents: fb7d4fa
Author: Marvin Humphrey <marvin@rectangular.com>
Authored: Thu Jul 11 15:11:40 2013 -0700
Committer: Marvin Humphrey <marvin@rectangular.com>
Committed: Thu Jul 11 15:11:40 2013 -0700

----------------------------------------------------------------------
 perl/xs/Lucy/Index/DocReader.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy/blob/f3426ad3/perl/xs/Lucy/Index/DocReader.c
----------------------------------------------------------------------
diff --git a/perl/xs/Lucy/Index/DocReader.c b/perl/xs/Lucy/Index/DocReader.c
index 0c7b2ac..d4e27ae 100644
--- a/perl/xs/Lucy/Index/DocReader.c
+++ b/perl/xs/Lucy/Index/DocReader.c
@@ -29,9 +29,10 @@
 
 lucy_HitDoc*
 lucy_DefDocReader_fetch_doc(lucy_DefaultDocReader *self, int32_t doc_id) {
-    lucy_Schema   *const schema = self->schema;
-    lucy_InStream *const dat_in = self->dat_in;
-    lucy_InStream *const ix_in  = self->ix_in;
+    lucy_DefaultDocReaderIVARS *const ivars = lucy_DefDocReader_IVARS(self);
+    lucy_Schema   *const schema = ivars->schema;
+    lucy_InStream *const dat_in = ivars->dat_in;
+    lucy_InStream *const ix_in  = ivars->ix_in;
     HV *fields = newHV();
     int64_t start;
     uint32_t num_fields;


Mime
View raw message