It seems like the method is gone. It exists for Uint64 integers but no
others. You can get the behaviour you want using convert(Ptr{*type*},
*integer*). It should probably be added back, either calling the existing
pointer method or by calling convert.
On Saturday, 14 June 2014 21:39:24 UTC-5, J Luis wrote:
>
> How do I test if a pointer is NULL?
> (did search the docs but couldn't find and answer)
>
> and BTW, I can't get this one either
>
> docs:
>
> pointer(*type*, *int*)
>
> Convert an integer to a pointer of the specified element type.
>
> julia> pointer(Uint8,0)
> ERROR: no method pointer(Type{Uint8}, Int64)
>
> julia> pointer(Uint8,uint8(0))
> ERROR: no method pointer(Type{Uint8}, Uint8)
>
> Thanks
>