lv-std 0.0.4

some utils for c and unsafe rust, this is for personal use for now so you can use it but don't expect any regular updates or maintaining
Documentation
1
2
3
4
5
6
7
8
9
use std::intrinsics::transmute;
use std::mem::transmute_copy;
use crate::unsafe_std::ptrs::raw_ptr::RawPtr;

pub unsafe trait IntoRawPtr {
    type Pointee: 'static;

    unsafe  fn to_ptr(&self) -> RawPtr<Self::Pointee>;
}