#1357 Java Arrays

None
closed-invalid
array java (1)
5
2014-03-02
2014-02-11
No

when adding:
%include <arrays_java.i>

%apply signed char [ANY] {unsigned char* imageBuf}

to the interface (.i) file,
generated swig_wrap.cxx

is uncompilable.
originating from the warpping function referencing a non-existence parameter
arg2_size

Discussion

  • William Fulton

    William Fulton - 2014-03-02

    Invalid %apply - you can't apply typemaps that require an array size to an array pointer as there is no size associated with the pointer. You could copy the typemaps and adapt though given a-priori information about imageBuf.

     
  • William Fulton

    William Fulton - 2014-03-02
    • status: open --> closed-invalid
    • assigned_to: William Fulton
    • Group: -->
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks