You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2009/09/10 00:49:53 UTC
svn commit: r813153 - /lucene/lucy/trunk/perl/lib/Lucy.pm
Author: marvin
Date: Wed Sep 9 22:49:53 2009
New Revision: 813153
URL: http://svn.apache.org/viewvc?rev=813153&view=rev
Log:
Add a dummy function to Lucy's custom XS code. Perl's XS parser has a bug
where it won't process the boot routine for the XS library unless there's at
least one function present; this patch flips the magic switch.
Modified:
lucene/lucy/trunk/perl/lib/Lucy.pm
Modified: lucene/lucy/trunk/perl/lib/Lucy.pm
URL: http://svn.apache.org/viewvc/lucene/lucy/trunk/perl/lib/Lucy.pm?rev=813153&r1=813152&r2=813153&view=diff
==============================================================================
--- lucene/lucy/trunk/perl/lib/Lucy.pm (original)
+++ lucene/lucy/trunk/perl/lib/Lucy.pm Wed Sep 9 22:49:53 2009
@@ -21,6 +21,13 @@
BOOT:
lucy_Lucy_bootstrap();
+
+IV
+_dummy_function()
+CODE:
+ RETVAL = 1;
+OUTPUT:
+ RETVAL
END_XS_CODE
Boilerplater::Binding::Perl::Class->register(