From a3c31a08e53f49f62ce9bafbd0552229869e2d67 Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Mon, 23 Jan 2012 08:57:51 -0800 Subject: [PATCH] Add export{} syntax to encapsulate things that should be abstract --- src/comp/metadata/cstore.rs | 2 +- src/libcore/comm.rs | 4 ++-- src/libcore/ctypes.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/comp/metadata/cstore.rs b/src/comp/metadata/cstore.rs index e3201834a3d..2201388897b 100644 --- a/src/comp/metadata/cstore.rs +++ b/src/comp/metadata/cstore.rs @@ -6,7 +6,7 @@ import syntax::ast; import util::common::*; -export cstore; +export cstore::{}; export cnum_map; export crate_metadata; export mk_cstore; diff --git a/src/libcore/comm.rs b/src/libcore/comm.rs index b1376ca3ba2..ef0f4bb8d86 100644 --- a/src/libcore/comm.rs +++ b/src/libcore/comm.rs @@ -26,8 +26,8 @@ export send; export recv; -export chan; -export port; +export chan::{}; +export port::{}; #[abi = "cdecl"] native mod rustrt { diff --git a/src/libcore/ctypes.rs b/src/libcore/ctypes.rs index 824cef878d9..f583bb646d0 100644 --- a/src/libcore/ctypes.rs +++ b/src/libcore/ctypes.rs @@ -8,7 +8,7 @@ export c_int, c_uint, long, longlong, unsigned, ulong, ulonglong; export intptr_t, uintptr_t; export uint32_t; -export void; +export void::{}; export c_float, c_double; export size_t, ssize_t; export off_t, fd_t, pid_t;