From fc8b9671bbcfbe91857220538a1447fab4988dfc Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 20 May 2011 22:12:35 -0400 Subject: [PATCH] stdlib: Export only what's needed from std::bitv --- src/lib/bitv.rs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/lib/bitv.rs b/src/lib/bitv.rs index b2f07fa2d387..90bbde1c6194 100644 --- a/src/lib/bitv.rs +++ b/src/lib/bitv.rs @@ -1,3 +1,22 @@ +export t; +export create; +export union; +export intersect; +export copy; +export clone; +export get; +export equal; +export clear; +export set_all; +export invert; +export difference; +export set; +export is_true; +export is_false; +export to_vec; +export to_str; +export eq_vec; + // FIXME: With recursive object types, we could implement binary methods like // union, intersection, and difference. At that point, we could write // an optimizing version of this module that produces a different obj