Loading ...
Sorry, an error occurred while loading the content.

How to read an address

Expand Messages
  • rixed@happyleptic.org
    This migh sound like a strange question, but suppose I have an address on a value of type nativeint. I would like to read the word at that address. What would
    Message 1 of 2 , Feb 26, 2010
    • 0 Attachment
      This migh sound like a strange question, but suppose I have
      an address on a value of type nativeint. I would like to read the
      word at that address.

      What would be the simpliest trick to achieve this ?
    • rixed@happyleptic.org
      Forget to say the address is outside ocaml heap.
      Message 2 of 2 , Feb 26, 2010
      • 0 Attachment
        Forget to say the address is outside ocaml heap.
      Your message has been successfully submitted and would be delivered to recipients shortly.