*imType* is a composite type Keno, is right. But now I do and still ...
function imcdCanvasPutImage(_canvas, _image, _x, _y, _w, _h, _xmin, _xmax, _ymin, _ymax) println("_image: ", _image) println("typeof(_image): ", typeof(_image)) println("isa(_image, Ptr{imImage}): ", isa(_image, Ptr{imImage})) C:\programs\Gits\IUP.jl\src>c:\programs\julia64\julia execa.jl _image: Ptr{imImage} @0x000000001647c470 typeof(_image): Ptr{imImage} isa(_image, Ptr{imImage}): false To reproduce this, you would need the to try the IUP.jl and uncoment the 3 lines at https://github.com/joa-quim/IUP.jl/blob/master/src/IUP_CD.jl#L356 plus changing 'img' to 'image' in (and run the example) https://github.com/joa-quim/IUP.jl/blob/master/examples/im_view_.jl#L119 Terça-feira, 17 de Junho de 2014 17:13:19 UTC+1, Keno Fischer escreveu: > > Looks like you're not actually calling typeof in the first statement. > > > On Tue, Jun 17, 2014 at 11:55 AM, J Luis <jmf...@gmail.com <javascript:>> > wrote: > >> Hi, this is a continuation of what I by mistake posted in devs-list >> >> https://groups.google.com/forum/?fromgroups=#!topic/julia-dev/GojOx4nI-xo >> >> that now stroke me again (in another place) >> >> function imcdCanvasPutImage(_canvas, _image, _x, _y, _w, _h, _xmin, _xmax >> , _ymin, _ymax) >> println("typeof(_image): ", _image) >> println("isa(_image, Ptr{imImage}): ", isa(_image, Ptr{imImage})) >> >> which when execute prints this astonishing conclusion >> >> C:\programs\Gits\IUP.jl\src>c:\programs\julia64\julia execa.jl >> typeof(_image): Ptr{imImage} @0x0000000000180c30 >> isa(_image, Ptr{imImage}): false >> >> However, when I try to reproduce this on the REPL, than it works >> >> Joaquim >> > >