You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Marvin Humphrey (Updated) (JIRA)" <ji...@apache.org> on 2012/03/26 06:24:57 UTC

[lucy-issues] [jira] [Updated] (LUCY-215) Support extensions written in C

     [ https://issues.apache.org/jira/browse/LUCY-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marvin Humphrey updated LUCY-215:
---------------------------------

    Attachment: 0005-Cease-generating-Autobinding.pm.patch
                0004-Move-_init_autobindings-into-main-parcel.patch
                0003-Remove-hard-coded-PARAMS-hashes.patch
                0002-Remove-PARAMS-hash-arg-to-allot_params.patch
                0001-Ignore-params-hashes-in-allot_params.patch

Here's a 5-patch sequence eliminating the generation of Autobinding.pm.
                
> Support extensions written in C
> -------------------------------
>
>                 Key: LUCY-215
>                 URL: https://issues.apache.org/jira/browse/LUCY-215
>             Project: Lucy
>          Issue Type: New Feature
>          Components: Clownfish
>            Reporter: Nick Wellnhofer
>            Assignee: Nick Wellnhofer
>         Attachments: 0001-Ignore-params-hashes-in-allot_params.patch, 0002-Remove-PARAMS-hash-arg-to-allot_params.patch, 0003-Remove-hard-coded-PARAMS-hashes.patch, 0004-Move-_init_autobindings-into-main-parcel.patch, 0005-Cease-generating-Autobinding.pm.patch
>
>
> Currently, all Lucy extensions that contain C code must be shipped with the Lucy source tree. In order to support external C-based extensions, Clownfish must be able to compile .cfh files that extend classes from a separate source tree. As discussed on the mailing list, a solution could look like this:
> * Install the .cfh files together with Lucy.
> * When building the extension, rebuild the complete Clownfish hierarchy together with the new classes.
> * Generate C headers, regenerating the headers for Lucy's core classes.
> * Compile the extension.

--
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