octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

INT32_T types in mex interface


From: John W. Eaton
Subject: INT32_T types in mex interface
Date: Wed, 11 Oct 2006 14:30:03 -0400

On 11-Oct-2006, Andy Adler wrote:

| I'm trying to compile some code written for matlab
|   using the new mex interface.
| 
| I note that octave's mex.h doesn't define
| INT32_T, int32_T, UINT32_T, uint32_T,
| INT16_T, int16_T, UINT16_T, uint16_T
|   INT8_T,  int8_T,  UINT8_T,  uint8_T

Are these documented somewhere in the MEX manual as being defined by
mex.h?

| I'd like to propose a patch to mex.h to add
| the following. Is this the right way to go?
| 
| #include <oct-types.h>
| 
| #define UINT64_T uint64_t
| ...

Maybe we should use

  #ifndef UINT64_T
  #define UINT64_T uint64_t
  #endif

?

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]