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

Reply via email to