about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-10-04 13:08:51 -0700
committerBrian Anderson <banderson@mozilla.com>2011-10-04 21:35:06 -0700
commita0a4d34e141a7a6445457e27fe18d875fb57d9d5 (patch)
treea1270fedb1dfb93310796a9d56cea8397b2ead55
parent2124839cd77c27f492b7fe35c81cf9469e5340e8 (diff)
Add std::ctypes
-rw-r--r--src/lib/ctypes.rs4
-rw-r--r--src/lib/std.rc1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ctypes.rs b/src/lib/ctypes.rs
new file mode 100644
index 00000000000..f5d625f1880
--- /dev/null
+++ b/src/lib/ctypes.rs
@@ -0,0 +1,4 @@
+// FIXME: This can't be right
+type size_t = uint;
+type ssize_t = int;
+
diff --git a/src/lib/std.rc b/src/lib/std.rc
index c00f7b629fa..f885f9d0ef7 100644
--- a/src/lib/std.rc
+++ b/src/lib/std.rc
@@ -29,6 +29,7 @@ mod comm;
 mod either;
 mod option;
 mod util;
+mod ctypes;
 
 // Authorize various rule-bendings.