Fix NULL definition

This commit is contained in:
Wildan M
2026-06-03 19:59:06 +07:00
parent 6ed85ce9c8
commit 4a027c9f2b
+2 -3
View File
@@ -1,5 +1,4 @@
use crate::platform::types::c_void;
use crate::platform::types::c_long;
/// Null pointer constant.
#[expect(clippy::zero_ptr)]
pub const NULL: *mut c_void = 0 as *mut c_void;
pub const NULL: c_long = 0;