You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Logan Bell (Created) (JIRA)" <ji...@apache.org> on 2012/01/12 06:29:39 UTC

[lucy-issues] [jira] [Created] (LUCY-208) Move Lucy Binding Code Into Modules

Move Lucy Binding Code Into Modules
-----------------------------------

                 Key: LUCY-208
                 URL: https://issues.apache.org/jira/browse/LUCY-208
             Project: Lucy
          Issue Type: Improvement
          Components: Clownfish, Ruby bindings
            Reporter: Logan Bell


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[lucy-issues] [jira] [Resolved] (LUCY-208) Move Lucy Binding Code Into Modules

Posted by "Logan Bell (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Logan Bell resolved LUCY-208.
-----------------------------

    Resolution: Fixed
    
> Move Lucy Binding Code Into Modules
> -----------------------------------
>
>                 Key: LUCY-208
>                 URL: https://issues.apache.org/jira/browse/LUCY-208
>             Project: Lucy
>          Issue Type: Improvement
>          Components: Clownfish, Ruby bindings
>            Reporter: Logan Bell
>            Assignee: Logan Bell
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[lucy-issues] [jira] [Assigned] (LUCY-208) Move Lucy Binding Code Into Modules

Posted by "Logan Bell (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCY-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Logan Bell reassigned LUCY-208:
-------------------------------

    Assignee: Logan Bell
    
> Move Lucy Binding Code Into Modules
> -----------------------------------
>
>                 Key: LUCY-208
>                 URL: https://issues.apache.org/jira/browse/LUCY-208
>             Project: Lucy
>          Issue Type: Improvement
>          Components: Clownfish, Ruby bindings
>            Reporter: Logan Bell
>            Assignee: Logan Bell
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira