This commit is contained in:
@@ -941,6 +941,7 @@ impl WeakPokemonReference {
|
||||
}
|
||||
|
||||
/// Gets the pointer to the underlying data.
|
||||
#[cfg(feature = "wasm")]
|
||||
pub(crate) fn as_ptr(&self) -> *const c_void { self.data.as_ptr() as *const c_void }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user