about summary refs log tree commit diff
path: root/src/rt/rust_kernel.h
diff options
context:
space:
mode:
authorEric Holk <eholk@mozilla.com>2011-06-28 11:34:20 -0700
committerGraydon Hoare <graydon@mozilla.com>2011-06-28 16:12:33 -0700
commit02f6645fca946fd7cb9f55036c05a908f0567ceb (patch)
tree88d71ff1fd10f3f8312f2c8a1041d7eeaf0251e4 /src/rt/rust_kernel.h
parent2f84987a48c3625670cd62321f0e3dcb5c0e8768 (diff)
downloadrust-02f6645fca946fd7cb9f55036c05a908f0567ceb.tar.gz
rust-02f6645fca946fd7cb9f55036c05a908f0567ceb.zip
Moved win32_require to the kernel.
Diffstat (limited to 'src/rt/rust_kernel.h')
-rw-r--r--src/rt/rust_kernel.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rt/rust_kernel.h b/src/rt/rust_kernel.h
index 5e03d8072d6..b3befab28d2 100644
--- a/src/rt/rust_kernel.h
+++ b/src/rt/rust_kernel.h
@@ -110,10 +110,14 @@ public:
     void *malloc(size_t size);
     void free(void *mem);
 
-    // TODO: this should go away
+    // FIXME: this should go away
     inline rust_dom *get_domain() const { return dom; }
 
     int start_task_threads(int num_threads);
+
+#ifdef __WIN32__
+    void win32_require(LPCTSTR fn, BOOL ok);
+#endif
 };
 
 class rust_task_thread : public rust_thread {