Fixed the problem with segfaults - actually a bug/limitation in
[ocaml-ancient.git] / ancient.ml
index ab357e2..dfce30c 100644 (file)
@@ -1,5 +1,5 @@
 (* Mark objects as 'ancient' so they are taken out of the OCaml heap.
- * $Id: ancient.ml,v 1.3 2006-09-27 18:39:44 rich Exp $
+ * $Id: ancient.ml,v 1.4 2006-09-28 12:40:07 rich Exp $
  *)
 
 type 'a ancient
@@ -12,7 +12,7 @@ external delete : 'a ancient -> unit = "ancient_delete"
 
 type md
 
-external attach : Unix.file_descr -> md = "ancient_attach"
+external attach : Unix.file_descr -> nativeint -> md = "ancient_attach"
 
 external detach : md -> unit = "ancient_detach"