File tree Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
9
- refs/heads/incoming: dbf6abf6bfd0bf2ac17c648d5e2c1edb68099e60
9
+ refs/heads/incoming: f8323ac6156fd3234a94351a4104a1203bd83df1
10
10
refs/heads/dist-snap: 2f32a1581f522e524009138b33b1c7049ced668d
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change 2
2
#include " rust_globals.h"
3
3
#include " rust_task.h"
4
4
#include " rust_shape.h"
5
+ #include " rust_box_annihilator.h"
5
6
6
7
class annihilator : public shape ::data<annihilator,shape::ptr> {
7
8
friend class shape ::data<annihilator,shape::ptr>;
Original file line number Diff line number Diff line change
1
+ #ifndef RUST_BOX_ANNIHILATOR_H
2
+ #define RUST_BOX_ANNIHILATOR_H
3
+
4
+ #include "rust_task.h"
5
+
6
+ void
7
+ annihilate_box (rust_task * task , rust_opaque_box * box );
8
+
9
+ void
10
+ annihilate_boxes (rust_task * task );
11
+
12
+ #endif
Original file line number Diff line number Diff line change 7
7
#include " sync/timer.h"
8
8
#include " rust_abi.h"
9
9
#include " rust_port.h"
10
+ #include " rust_box_annihilator.h"
10
11
11
12
#include < time.h>
12
13
@@ -740,6 +741,12 @@ rust_set_exit_status(intptr_t code) {
740
741
task->kernel ->set_exit_status ((int )code);
741
742
}
742
743
744
+ extern " C" CDECL void
745
+ rust_annihilate_box (rust_opaque_box *ptr) {
746
+ rust_task *task = rust_get_current_task ();
747
+ annihilate_box (task, ptr);
748
+ }
749
+
743
750
extern void log_console_on ();
744
751
745
752
extern " C" CDECL void
You can’t perform that action at this time.
0 commit comments