Closed ColonelThirtyTwo closed 3 years ago
Doing some C interop. Since CollisionObjectSlabHandle is just a wrapper for usize, it would help if it had #[repr(transparent)] to make it safe to cast directly from/to *const size_t arrays, for example.
CollisionObjectSlabHandle
usize
#[repr(transparent)]
*const size_t
Hi @ColonelThirtyTwo! Yes, this can be added.
Doing some C interop. Since
CollisionObjectSlabHandle
is just a wrapper forusize
, it would help if it had#[repr(transparent)]
to make it safe to cast directly from/to*const size_t
arrays, for example.