|
| 1 | +/** |
| 2 | + * Copyright (c) 1996-2023, SR Research Ltd., All Rights Reserved |
| 3 | + * |
| 4 | + * For use by SR Research licencees only. Redistribution and use in source |
| 5 | + * and binary forms, with or without modification, are NOT permitted. |
| 6 | + * |
| 7 | + * Redistributions in binary form must reproduce the above copyright |
| 8 | + * notice, this list of conditions and the following disclaimer in |
| 9 | + * the documentation and/or other materials provided with the distribution. |
| 10 | + * |
| 11 | + * Neither name of SR Research Ltd nor the name of contributors may be used |
| 12 | + * to endorse or promote products derived from this software without |
| 13 | + * specific prior written permission. |
| 14 | + * |
| 15 | + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS |
| 16 | + * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
| 17 | + * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
| 18 | + * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR |
| 19 | + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
| 20 | + * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
| 21 | + * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 22 | + * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
| 23 | + * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 24 | + * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 25 | + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 26 | + */ |
| 27 | +/* EYELINK APPLICATION CODE */ |
| 28 | +/* PLATFORM-PORTABLE TYPES */ |
| 29 | +/* MAY NEED TO BE MODIFIED */ |
| 30 | +/* FOR Mac, etc. */ |
| 31 | + |
| 32 | +/*#define FARTYPE _far */ /* for some mixed-model builds */ |
| 33 | +#define FARTYPE /* make blank for most DOS, 32-bit, ANSI C */ |
| 34 | + |
| 35 | +#ifdef __cplusplus /* For C++ definitions */ |
| 36 | +extern "C" { |
| 37 | +#endif |
| 38 | + |
| 39 | +#ifndef _BASETSD_H_ /* windows header */ |
| 40 | + #ifndef BYTEDEF |
| 41 | + #define BYTEDEF 1 |
| 42 | + |
| 43 | + typedef unsigned char byte; |
| 44 | + typedef short INT16; |
| 45 | + typedef int INT32; |
| 46 | + typedef unsigned short UINT16; |
| 47 | + typedef unsigned int UINT32; |
| 48 | + #endif |
| 49 | +#endif |
| 50 | + |
| 51 | +#ifndef _MSC_VER |
| 52 | +typedef unsigned long long UINT64 ; |
| 53 | +typedef long long INT64 ; |
| 54 | +#else |
| 55 | +typedef unsigned __int64 UINT64 ; |
| 56 | +typedef __int64 INT64 ; |
| 57 | +#endif |
| 58 | + |
| 59 | +#ifndef MICRODEF |
| 60 | + #define MICRODEF 1 |
| 61 | + typedef struct { |
| 62 | + INT32 msec; /* SIGNED for offset computations */ |
| 63 | + INT16 usec; |
| 64 | + } MICRO ; |
| 65 | +#endif |
| 66 | + |
| 67 | +#ifdef __cplusplus /* For C++ definitions */ |
| 68 | +} |
| 69 | +#endif |
0 commit comments