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.
2 parents bcdb657 + 1aef969 commit 15af618Copy full SHA for 15af618
snmalloc-sys/src/lib.rs
@@ -10,8 +10,7 @@ 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
+ /// - `alignment` is a 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;
17
0 commit comments