On Thu, May 16, 2024 at 12:57 AM Pavan wrote:
>
> Thanks . Yes it works when C API takes uintptr_t. In my case, the C API
> expects void * which i can not change, so I was trying to make it work with
> the variant example stated above.
In C, unlike Go, you can convert between void* and uintptr_
Thanks Ian, Yes i followed a similar approach and it's working fine..
On Sun, May 19, 2024 at 4:36 AM Ian Lance Taylor wrote:
> On Thu, May 16, 2024 at 12:57 AM Pavan wrote:
> >
> > Thanks . Yes it works when C API takes uintptr_t. In my case, the C API
> expects void * which i can not change,