Uploaded image for project: 'Lucy'
  1. Lucy
  2. LUCY-208

Move Lucy Binding Code Into Modules

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Clownfish, Ruby bindings
    • 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.

      Attachments

        Activity

          People

            logie Logan J. Bell
            logie Logan J. Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: