Skip to content

Commit c140294

Browse files
committed
Add support for libstrophe-0.13 and 0.14
1 parent c0da073 commit c140294

13 files changed

Lines changed: 423 additions & 324 deletions

File tree

src/alloc_context.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
use std::ffi::c_void;
2-
use std::mem::{align_of, size_of};
3-
use std::ptr::NonNull;
4-
use std::{alloc, ptr};
1+
use core::ffi::c_void;
2+
use core::mem::{align_of, size_of};
3+
use core::ptr;
4+
use core::ptr::NonNull;
5+
use std::alloc;
56

67
/// Internal `Context` that only specifies allocation functions and uses null logger. Needed to not pass
78
/// `Context` to e.g. `Stanza` because it uses only allocation functions from `Context`.

0 commit comments

Comments
 (0)