From 35fe86dab74254cf4b74a4e28506fa84d81871e2 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 13 Dec 2011 21:43:55 -0800 Subject: export upcall_clone_type_desc --- src/rt/rust_upcall.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_upcall.cpp') diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 754a1f2d189..ddf490f6dba 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -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); -- cgit 1.4.1-3-g733a5