📄 test_intf.h
字号:
#ifndef __TEST_INTERFACE_H
#define __TEST_INTERFACE_H
typedef struct tag_test_inner_struct
{
unsigned char a;
unsigned short b;
unsigned int c;
unsigned long d;
} test_inner_struct_t, * test_inner_struct_p;
typedef struct tag_test_struct
{
unsigned int a;
char b;
char* c /*string*/;
unsigned short d;
short e[3];
test_inner_struct_t f[2];
} test_struct_t, * test_struct_p;
typedef union tag_test_union
{
unsigned int a;
char* b /*string*/;
} test_union_t;
typedef struct tag_test_struct_union
{
unsigned char tp;
test_union_t dt /* active(tp) */;
} test_struct_union_t, * test_struct_union_p;
typedef struct tag_test_struct_variable
{
unsigned int a_sz;
unsigned int b_len;
unsigned short* a /* size(a_sz) */;
unsigned short* b /* length(b_len) */;
} test_struct_variable_t, * test_struct_variable_p;
int test_int(int i);
void test_void_int(int i);
typedef char* zstring /* string */;
typedef int int5[5];
int test_int_string(zstring str);
int test_int_int5(int5 ints);
int test_int_pstruct(test_struct_p pstruct);
int test_int_variable_len(test_struct_variable_p p);
int test_int_union(test_struct_union_p p);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -