mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 02:57:57 +00:00
Remove deprecated host functions (#5038)
Sadly we need to keep one function `ext_blake2_256`. This function is manually defined in `sp-core`.
This commit is contained in:
@@ -170,6 +170,12 @@ impl<T: PointerType> Pointer<T> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: PointerType> From<u32> for Pointer<T> {
|
||||
fn from(ptr: u32) -> Self {
|
||||
Pointer::new(ptr)
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: PointerType> From<Pointer<T>> for u32 {
|
||||
fn from(ptr: Pointer<T>) -> Self {
|
||||
ptr.ptr
|
||||
|
||||
Reference in New Issue
Block a user