当我想要单指针时我感到困惑,何时我应该采用双指针?在以下结构中究竟做了什么?
struct objc_class {
Class isa;
Class super_class;
const char *name;
long version;
long info;
long instance_size;
struct objc_ivar_list *ivars;
struct objc_method_list **methodLists;
struct objc_cache *cache;
struct objc_protocol_list *protocols;
};
Run Code Online (Sandbox Code Playgroud)
为什么我们使用"**methodLists"双指针.
编辑
int sqlite3_get_table(sqlite3*db,
const char*zSql,
char***pazResult,
int*pnRow,
int*pnColumn,
char**pzErrmsg
); 在上面的场景中,三指针char***pazResult的含义是什么?