nu_types.h

来自「流量C++驱动的一些源代码,主要是模仿SMARTBIT 的硬件对应的代码」· C头文件 代码 · 共 52 行

H
52
字号
/****************************************************************************
 *     Copyright (c) 2003  Xtramus Corporation   All rights reserved.
 *
 *     This is unpublished proprietary source code of Xtramus Corporation
 *
 *     The copyright notice above does not evidence any actual or intended
 *     publication of such source code.
 ****************************************************************************
 */


#ifndef NU_TYPES_H          /* prevent multiple inclusion of the header file */
#define NU_TYPES_H

typedef unsigned short int      BOOLEAN_T;  /* Boolean */
typedef long                    I32_T;      /* 32-bit signed */
typedef unsigned long           UI32_T;     /* 32-bit unsigned */
typedef short int               I16_T;      /* 16-bit signed */
typedef unsigned short int      UI16_T;     /* 16-bit unsigned */
typedef char                    I8_T;       /* 8-bit signed */
typedef unsigned char           UI8_T;      /* 8-bit unsigned */

typedef unsigned long           ulint;      /* 32-bit unsigned */
typedef short int               sshort;     /* 16-bit signed */
typedef unsigned short int      uint16;     /* 16-bit unsigned */
typedef unsigned char           uchar;      /* 8-bit unsigned */

typedef unsigned __int64        UI64_T;      /* 64-bit unsigned */
typedef __int64                 I64_T;       /* 64-bit signed */

#ifndef NULL
#define NULL                    0           /* Null value */
#endif

#ifndef TRUE
#define TRUE                    1
#endif

#ifndef FALSE
#define FALSE                   0
#endif

#ifndef SUCCESS
#define SUCCESS                 1
#endif

#ifndef FAILURE
#define FAILURE                 0
#endif

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?