2014-12-24 13:12:39 +08:00
|
|
|
use libc;
|
|
|
|
|
|
|
|
extern "C" {
|
2014-12-24 13:37:16 +08:00
|
|
|
#[link_name = "lwt_stack_register"]
|
2014-12-24 13:12:39 +08:00
|
|
|
pub fn stack_register(start: *const u8, end: *const u8) -> libc::c_uint;
|
2014-12-24 13:37:16 +08:00
|
|
|
#[link_name = "lwt_stack_deregister"]
|
2014-12-24 13:12:39 +08:00
|
|
|
pub fn stack_deregister(id: libc::c_uint);
|
|
|
|
}
|