Added rlimits, support for objects.
[xavierbot.git] / init
diff --git a/init b/init
index c8b1cbc..6025b0c 100644 (file)
--- a/init
+++ b/init
@@ -1,5 +1,5 @@
 (* Initialise the toplevel environment.
- * $Id: init,v 1.2 2007/06/28 20:49:10 rjones Exp $
+ * $Id: init,v 1.3 2007/06/28 23:18:28 rjones Exp $
  * - Removes the Pervasives module and any dangerous functions.
  * - Loads just the modules we want to give access to, and just
  *   the functions within those modules that we want to give.
@@ -122,6 +122,10 @@ module String : sig
   val compare: t -> t -> int
 end = struct include String end
 
+(* Create an object, so we get the CamlinternalOO module. *)
+(* XXX Are any of the methods unsafe? *)
+let _ = object end
+
 (* Load our custom grammar, which disables "external". *)
 
 #load "camlp4o.cma";;