Lucy
  1. Lucy
  2. LUCY-208

Move Lucy Binding Code Into Modules

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Clownfish, Ruby bindings
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Logan Bell
            Reporter:
            Logan Bell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development