export upcall_clone_type_desc

This commit is contained in:
Niko Matsakis 2011-12-13 21:43:55 -08:00
parent 1869306a7e
commit 35fe86dab7
3 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@
//
// 0 --- no headers, no debugging support
// 1 --- support poison, but do not track allocations
// 2 --- track allocations in deatil
// 2 --- track allocations in detail
//
// NB: please do not commit code with level 2. It's
// hugely expensive and should only be used as a last resort.

View File

@ -224,7 +224,7 @@ void upcall_s_clone_type_desc(s_clone_type_desc_args *args)
* Called to deep-clone type descriptors so they can be attached to a sendable
* function. Eventually this should perhaps move to a centralized hashtable.
*/
type_desc *
extern "C" CDECL type_desc *
upcall_clone_type_desc(type_desc *td) {
s_clone_type_desc_args args = { td, 0 };
SWITCH_STACK(&args, upcall_s_clone_type_desc);

View File

@ -58,6 +58,7 @@ upcall_dynastack_free
upcall_dynastack_mark
upcall_fail
upcall_free
upcall_clone_type_desc
upcall_get_type_desc
upcall_log_type
upcall_malloc