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 2
2
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5
- refs/heads/try: 67394f20eb0176828bc65f5caf6f4044994d9fb0
5
+ refs/heads/try: cde44ea2885ceac0f4589387ecc8bfd566ac675c
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
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