sol2
sol2 copied to clipboard
Is there a way to push a smart pointer type twice without creating two separate userdata objects?
The question is basically in the title. I basically want to make sure that two smart_pointers pointing to the same object will both result in the same userdata object in lua.