Looks like you're not actually calling typeof in the first statement.
On Tue, Jun 17, 2014 at 11:55 AM, J Luis <jmfl...@gmail.com> 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 >