Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Small request
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Ohad Rodeh <ORODEH@i...>
Subject: [Caml-list] Small request
While I'm at it, there is one more function that could help me:
  val Marshal.length : 'a -> extern_flags list -> int

This hypothetical function returns the length that an object will be
marshaled to.
This allows pre-allocating a C buffer of the correct size, and then
marshaling an
ML object directy into it. This prevents memory fragmentation on the


Bug reports:  FAQ:
To unsubscribe, mail  Archives: