3 ms·
You can't downcast it to anything you want, it returns an Option, void pointers in C are not certainly the same, it's unsafe.
by xfer 8y ago
You can't downcast it to anything you want, it returns an Option, void pointers in C are not certainly the same, it's unsafe.
- foldr 8y agoI know. That's why I said it's "a safe analogue of casting a void pointer to another type".