C-Interface is created for C++ API. some variable are defined for C++'s API object like :
typedef struct object* object;
other approach is used
typedef void* object;
My lead suggested that typedef struct object* object
this is good . But I don't understand why this is better design.
Which is good design and why ?
Thanks in advance