I have gotten to the same point as you - the Python side needs to be reworked 
to accomodate
multiple parents, the current static initializations don't work with multiple 
base classes.
It's work in progress...

> On Jun 13, 2017, at 18:31, Jesper Mattsson (JIRA) <j...@apache.org> wrote:
> 
> 
>    [ 
> https://issues.apache.org/jira/browse/PYLUCENE-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048084#comment-16048084
>  ] 
> 
> Jesper Mattsson commented on PYLUCENE-37:
> -----------------------------------------
> 
> I am currently unable to work any more on this beyond the patch that I sent.
> 
>> Extended interfaces beyond first are ignored
>> --------------------------------------------
>> 
>>                Key: PYLUCENE-37
>>                URL: https://issues.apache.org/jira/browse/PYLUCENE-37
>>            Project: PyLucene
>>         Issue Type: Bug
>>           Reporter: Jesper Mattsson
>>        Attachments: jcc.multiple.inheritance.patch, Test.zip
>> 
>> 
>> When generating wrapper for a Java interface that extends more than one 
>> other interface, then only the first extended interface is used when 
>> generating the C++ class.
>> In cpp.header(), the code snippets:
>> {code}
>>    if cls.isInterface():
>>        if interfaces:
>>            superCls = interfaces.pop(0)
>> {code}
>> and:
>> {code}
>>        line(out, indent, 'class %s%s : public %s {',
>>             _dll_export, cppname(names[-1]), absname(cppnames(superNames)))
>> {code}
>> are likely responsible.
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.4.14#64029)

Reply via email to