File tree Expand file tree Collapse file tree 3 files changed +0
-7
lines changed Expand file tree Collapse file tree 3 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ native "cdecl" mod rustrt {
44
44
45
45
fn new_port ( unit_sz : uint ) -> * rust_port ;
46
46
fn del_port ( po : * rust_port ) ;
47
- fn drop_port ( po : * rust_port ) ;
48
47
fn get_port_id ( po : * rust_port ) -> port_id ;
49
48
}
50
49
@@ -77,7 +76,6 @@ tag chan<uniq T> {
77
76
}
78
77
79
78
resource port_ptr( po: * rustrt:: rust_port) {
80
- rustrt:: drop_port ( po) ;
81
79
rustrt:: del_port ( po) ;
82
80
}
83
81
Original file line number Diff line number Diff line change @@ -479,10 +479,6 @@ get_port_id(rust_port *port) {
479
479
return port->id ;
480
480
}
481
481
482
- extern " C" CDECL
483
- void drop_port (rust_port *port) {
484
- }
485
-
486
482
extern " C" CDECL void
487
483
chan_id_send (type_desc *t, rust_task_id target_task_id,
488
484
rust_port_id target_port_id, void *sptr) {
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ debug_ptrcast
10
10
debug_tag
11
11
debug_tydesc
12
12
do_gc
13
- drop_port
14
13
drop_task
15
14
get_port_id
16
15
get_task_id
You can’t perform that action at this time.
0 commit comments