rt: Delete more C++
This commit is contained in:
parent
11b07847e6
commit
6b6f89b0ec
5 changed files with 10 additions and 141 deletions
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
/* Foreign builtins. */
|
||||
|
||||
#include "rust_util.h"
|
||||
#include "sync/lock_and_signal.h"
|
||||
#include "vg/valgrind.h"
|
||||
|
||||
|
|
@ -234,6 +233,16 @@ precise_time_ns(uint64_t *ns) {
|
|||
#endif
|
||||
}
|
||||
|
||||
struct
|
||||
rust_vec
|
||||
{
|
||||
size_t fill; // in bytes; if zero, heapified
|
||||
size_t alloc; // in bytes
|
||||
uint8_t data[0];
|
||||
};
|
||||
|
||||
typedef rust_vec rust_str;
|
||||
|
||||
struct rust_tm {
|
||||
int32_t tm_sec;
|
||||
int32_t tm_min;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue