mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
add get_type_desc function to library
This commit is contained in:
parent
80102c9d24
commit
cdf91bbf9a
@ -109,6 +109,11 @@ unsupervise() {
|
||||
task->unsupervise();
|
||||
}
|
||||
|
||||
extern "C" CDECL type_desc*
|
||||
get_type_desc(void *unused_task, type_desc* t) {
|
||||
return t;
|
||||
}
|
||||
|
||||
extern "C" CDECL void
|
||||
vec_reserve_shared(type_desc* ty, rust_vec** vp,
|
||||
size_t n_elts) {
|
||||
|
Loading…
Reference in New Issue
Block a user