Why we used double pointer in objective-C or C language?
Posted
by Rajendra Bhole
on Stack Overflow
See other posts from Stack Overflow
or by Rajendra Bhole
Published on 2010-04-03T06:23:23Z
Indexed on
2010/04/03
6:33 UTC
Read the original article
Hit count: 227
Hi, I confused when i want to take single pointer and when should i take double pointer? In following structure what exactly did?
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;
};
Why we use the "**methodLists" double pointer?
© Stack Overflow or respective owner