
All use of reinterpret_cast can be removed. No cast needed when the C++ instances are returned, and static_cast is sufficient for downcasting.
All use of reinterpret_cast can be removed. No cast needed when the C++ instances are returned, and static_cast is sufficient for downcasting.