Browse thread
mlsize_t and size_t.
- Guillaume Yziquel
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2010-02-03 (17:29) |
From: | Guillaume Yziquel <guillaume.yziquel@c...> |
Subject: | mlsize_t and size_t. |
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/