caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* mlsize_t and size_t.
@ 2010-02-03 17:29 Guillaume Yziquel
  0 siblings, 0 replies; only message in thread
From: Guillaume Yziquel @ 2010-02-03 17:29 UTC (permalink / raw)
  To: OCaml List

Hi.

I've been wanting to wrap a size_t value to ocaml. I therefore have a 
few questions about this:

-1- What is the rationale that makes OCaml uses an mlsize_t instead of 
size_t? On Linux platforms, it seems that both are unsigned long ints.

-2- would a 'type size = private nativeint' do the trick?

All the best,

-- 
      Guillaume Yziquel
http://yziquel.homelinux.org/


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-03 17:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-03 17:29 mlsize_t and size_t Guillaume Yziquel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).