rt: Remove drop_port. Unused
This commit is contained in:
parent
5d1e321ecb
commit
5e0e32faac
@ -44,7 +44,6 @@ native "cdecl" mod rustrt {
|
||||
|
||||
fn new_port(unit_sz: uint) -> *rust_port;
|
||||
fn del_port(po: *rust_port);
|
||||
fn drop_port(po: *rust_port);
|
||||
fn get_port_id(po: *rust_port) -> port_id;
|
||||
}
|
||||
|
||||
@ -77,7 +76,6 @@ tag chan<uniq T> {
|
||||
}
|
||||
|
||||
resource port_ptr(po: *rustrt::rust_port) {
|
||||
rustrt::drop_port(po);
|
||||
rustrt::del_port(po);
|
||||
}
|
||||
|
||||
|
@ -479,10 +479,6 @@ get_port_id(rust_port *port) {
|
||||
return port->id;
|
||||
}
|
||||
|
||||
extern "C" CDECL
|
||||
void drop_port(rust_port *port) {
|
||||
}
|
||||
|
||||
extern "C" CDECL void
|
||||
chan_id_send(type_desc *t, rust_task_id target_task_id,
|
||||
rust_port_id target_port_id, void *sptr) {
|
||||
|
@ -10,7 +10,6 @@ debug_ptrcast
|
||||
debug_tag
|
||||
debug_tydesc
|
||||
do_gc
|
||||
drop_port
|
||||
drop_task
|
||||
get_port_id
|
||||
get_task_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user