enhancementhelp wanted
Metriche repository
- Star
- (4279 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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( );