This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
MathLink C Function

mlint64

mlint64
is a MathLink type for storing 64-bit integers.
  • The mlint64 data type can vary from machine to machine.
  • On 64-bit machines, mlint64 is a native 64-bit C type.
  • On 32-bit machines, mlint64 is a structure that contains two 32-bit native C types. The high and low 32-bit words can be accessed with the hi and low specifiers.
  • mlint64 is declared in the MathLink header file mathlink.h.
Declare an mlint64:
mlint64 inumb;
Access the high and low 32-bit words (32-bit machines):
inumb.hi = 0x1234;
inumb.low = 0x5678;