add get_type_desc function to library
This commit is contained in:
parent
80102c9d24
commit
cdf91bbf9a
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue