Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
To: OCaml List <caml-list@inria.fr>
Subject: mlsize_t and size_t.
Date: Wed, 03 Feb 2010 18:29:32 +0100	[thread overview]
Message-ID: <4B69B27C.4020702@citycable.ch> (raw)

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/


                 reply	other threads:[~2010-02-03 17:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B69B27C.4020702@citycable.ch \
    --to=guillaume.yziquel@citycable.ch \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox