今天在阅读OpenSSL源代码,看到这一行,晕菜了!
在一个头文件中,定义了一个struct:
typedef struct stack_st
{
int num;
char **data;
int sorted;
int num_alloc;
int (*comp)(const char * const * a, const char * const * b);
} STACK;
红色这一行,两个参数a 和 b是什么类型? 是不是 char ** 加了两个 const?
哪位xd能给解释一下?