Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
1. Move the code chunk from _BINDING_ trunk/perl/lib/Lucy/Object/CharBuf.pm to trunk/perl/buildlib/Lucy/Build/Binding/Object.pm
package Lucy::Build::Binding::Object;
sub bind_all
{ my ( $class ) = @_; $class->bind_charbuf; $class->bind_... }sub bind_charbuf
{ my $xs_code = "..."; Clownfish::CFC::Binding::Perl::Class->register( parcel => "Lucy", class_name => "Lucy::Object::CharBuf", xs_code => $xs_code, ); }2. Updated Build.pm to call the individual Modules in buldlib/Lucy/Build/Binding/*.pm build_all function, and remove the evaling of _BINDING_ chunks.