Skip to content

@CXXSuperTemplate doens't work if the super class is placed in another file #23

Description

@sighingnow

For class

@FFITypeAlias("arrow::Result")
@FFIGen(templates = @CXXTemplate(cxx = "int", java = "Integer"))
@CXXSuperTemplate(
        type = "arrow.EqualityComparable",
        template = @CXXTemplate(java = "arrow.Result<T>", cxx = "arrow::Result<T>")
)
@CXXHead(
        system = "arrow/result.h"
)
public interface Result<T> extends EqualityComparable<Result<T>>, CXXPointer {
}

and class

@FFITypeAlias("arrow::util::EqualityComparable")
@FFIGen
@CXXHead(
        system = "arrow/util/compare.h"
)
public interface EqualityComparable<T> extends CXXPointer
{
}

The CXXSuperTemplate doesn't work if they are placed in different java files, but works if been placed in the the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions