Skip to content

Commit 8861ba6

Browse files
committed
rt: Remove rust_refcount.h
1 parent cb89afc commit 8861ba6

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

src/rt/rust_refcount.h

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/rt/rust_type.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#define RUST_TYPE_H
1414

1515
#include "rust_globals.h"
16-
#include "rust_refcount.h"
1716

1817
struct rust_opaque_box;
1918

@@ -28,6 +27,8 @@ struct type_desc;
2827
typedef void CDECL (glue_fn)(void *,
2928
void *);
3029

30+
typedef unsigned long ref_cnt_t;
31+
3132
// Corresponds to the boxed data in the @ region. The body follows the
3233
// header; you can obtain a ptr via box_body() below.
3334
struct rust_opaque_box {

0 commit comments

Comments
 (0)