EMT API ver: 2.23.1
载入中...
搜索中...
未找到
emt_api_struct_common.h
浏览该文件的文档.
1
6
7#ifndef _EMT_API_STRUCT_COMMON_H_
8#define _EMT_API_STRUCT_COMMON_H_
9
10#if defined(_MSC_VER) && _MSC_VER<1600
11typedef signed char int8_t;
12typedef short int16_t;
13typedef int int32_t;
14typedef long long int64_t;
15typedef unsigned char uint8_t;
16typedef unsigned short uint16_t;
17typedef unsigned int uint32_t;
18typedef unsigned long long uint64_t;
19#else
20#include <stdint.h>
21#endif
22
23#include "emt_api_data_type.h"
24
25#pragma pack(1)
26
28struct EMTRI
29{
31 int32_t error_id;
34
36 {
37 error_id = 0;
38 error_msg[0] = '\0';
39 }
40};
41
42#pragma pack()
43
44#endif // !_EMT_API_STRUCT_COMMON_H_
定义兼容数据基本类型
#define EMT_ERR_MSG_LEN
错误信息的字符串长度
Definition emt_api_data_type.h:14
响应信息
Definition emt_api_struct_common.h:29
int32_t error_id
错误代码
Definition emt_api_struct_common.h:31
EMTRI()
Definition emt_api_struct_common.h:35
char error_msg[EMT_ERR_MSG_LEN]
错误信息
Definition emt_api_struct_common.h:33