enhancementhelp wanted
Repository metrics
- Stars
- (4,279 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
The reference to const pointer was cast to the wrong type.
// cpp code
class temp_vector
{
typedef INode* T;
public:
class const_iterator {
public:
const T & operator * (void) const;
}
}
// generated java code (multiply operator part)
public native @Cast("const TempAPI::temp_vector::T") @Name("operator *") INode multiply( ); // wrong
// -> public native @ByRef @Cast("const TempAPI::temp_vector::T*") @Name("operator *") PointerPointer multiply( );