sol2 icon indicating copy to clipboard operation
sol2 copied to clipboard

Disable userdata pointer management behavior

Open kem0x opened this issue 2 years ago • 0 comments

as mentioned here this is causing an issue for me as my functions return a pointer to the object in which other functions expect a direct pointer aswell, creating double pointer deref in every funciton is kinda pain, so my question here is there way to disable the usertype from wrapping the pointer?

i found a different work around by switching the return type of the function to a void* but this is not suitable aswell sadly..

kem0x avatar Aug 14 '23 01:08 kem0x