File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Expand file tree Collapse file tree 2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 67394f20eb0176828bc65f5caf6f4044994d9fb0
2
+ refs/heads/master: cde44ea2885ceac0f4589387ecc8bfd566ac675c
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5
5
refs/heads/try: 70152ff55722878cde684ee6462c14c65f2c4729
Original file line number Diff line number Diff line change @@ -36,24 +36,6 @@ rust_vec
36
36
uint8_t data[0 ];
37
37
};
38
38
39
- struct
40
- rust_vec_box
41
- {
42
- rust_opaque_box header;
43
- rust_vec body;
44
- };
45
-
46
- template <typename T>
47
- inline size_t vec_size (size_t elems) {
48
- return sizeof (rust_vec_box) + sizeof (T) * elems;
49
- }
50
-
51
- template <typename T>
52
- inline T *
53
- vec_data (rust_vec *v) {
54
- return reinterpret_cast <T*>(v->data );
55
- }
56
-
57
39
typedef rust_vec rust_str;
58
40
59
41
inline size_t get_box_size (size_t body_size, size_t body_align) {
You can’t perform that action at this time.
0 commit comments