We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcdb657 commit 301c8e5Copy full SHA for 301c8e5
snmalloc-sys/src/lib.rs
@@ -10,7 +10,6 @@ extern "C" {
10
/// On failure, it returns a null pointer.
11
/// The client must assure the following things:
12
/// - `alignment` is greater than zero
13
- /// - `alignment` is less equal to `SUPERSLAB_SIZE` (defined in snmalloc)
14
/// - `alignment` is of the power of 2
15
/// The program may be forced to abort if the constrains are not full-filled.
16
pub fn rust_alloc(alignment: size_t, size: size_t) -> *mut c_void;
0 commit comments