diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-06-28 11:34:20 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-28 16:12:33 -0700 |
| commit | 02f6645fca946fd7cb9f55036c05a908f0567ceb (patch) | |
| tree | 88d71ff1fd10f3f8312f2c8a1041d7eeaf0251e4 /src/rt/rust_kernel.h | |
| parent | 2f84987a48c3625670cd62321f0e3dcb5c0e8768 (diff) | |
| download | rust-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.h | 6 |
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 { |
