How to convert (void*)0 in java

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Mon Feb 18 03:38:30 UTC 2019


You can use Pointer.nullPointer() method.

-Sundar

On 18/02/19, 8:09 AM, Giuseppe Barbieri wrote:
> Hi,
>
> I'm looking for a way to convert this:
>
> (void*)0
>
> in Java.
>
> I tried to allocate a pointer and set its value to 0, but it didnt work
>
> Any ideas, guys?
>
> Thanks in advance


More information about the panama-dev mailing list