mod queue;
mod rc;
-/// The implementation of `rtio` for libuv
pub mod uvio;
-
-/// C bindings to libuv
pub mod uvll;
pub mod file;
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//! The implementation of `rtio` for libuv
+
use std::c_str::CString;
use std::cast;
use std::io::IoError;
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//! Simple backtrace functionality (to print on failure)
+
#![allow(non_camel_case_types)]
use char::Char;
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+
+//! The global (exchange) heap.
+
use libc::{c_void, size_t, free, malloc, realloc};
use ptr::{RawPtr, mut_null};
use intrinsics::abort;
// Internal macros used by the runtime.
mod macros;
-/// The global (exchange) heap.
+// The global (exchange) heap.
pub mod global_heap;
-/// Implementations of language-critical runtime features like @.
+// Implementations of language-critical runtime features like @.
pub mod task;
-/// The EventLoop and internal synchronous I/O interface.
+// The EventLoop and internal synchronous I/O interface.
pub mod rtio;
-/// The Local trait for types that are accessible via thread-local
-/// or task-local storage.
+// The Local trait for types that are accessible via thread-local
+// or task-local storage.
pub mod local;
-/// Bindings to system threading libraries.
+// Bindings to system threading libraries.
pub mod thread;
-/// The runtime configuration, read from environment variables.
+// The runtime configuration, read from environment variables.
pub mod env;
-/// The local, managed heap
+// The local, managed heap
pub mod local_heap;
-/// The runtime needs to be able to put a pointer into thread-local storage.
+// The runtime needs to be able to put a pointer into thread-local storage.
mod local_ptr;
-/// Bindings to pthread/windows thread-local storage.
+// Bindings to pthread/windows thread-local storage.
mod thread_local_storage;
-/// Stack unwinding
+// Stack unwinding
pub mod unwind;
-/// The interface to libunwind that rust is using.
+// The interface to libunwind that rust is using.
mod libunwind;
-/// Simple backtrace functionality (to print on failure)
+// Simple backtrace functionality (to print on failure)
pub mod backtrace;
-/// Just stuff
+// Just stuff
mod util;
// Global command line argument storage
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//! The EventLoop and internal synchronous I/O interface.
+
use c_str::CString;
use cast;
use comm::{Sender, Receiver};
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//! Stack unwinding
+
// Implementation of Rust stack unwinding
//
// For background on exception handling and stack unwinding please see
// option. This file may not be copied, modified, or distributed
// except according to those terms.
-/*
- Predicates on exprs and stmts that the pretty-printer and parser use
- */
+//! Routines the parser uses to classify AST nodes
+
+// Predicates on exprs and stmts that the pretty-printer and parser use
use ast;
// option. This file may not be copied, modified, or distributed
// except according to those terms.
+//! Common routines shared by parser mods
+
use parse::token;
// SeqSep : a sequence separator (token)
pub mod comments;
pub mod attr;
-/// Common routines shared by parser mods
pub mod common;
-
-/// Routines the parser uses to classify AST nodes
pub mod classify;
-
-/// Reporting obsolete syntax
pub mod obsolete;
// info about a parsing session.