|
|
|
|
|
by ExpiredLink
5150 days ago
|
|
Some stylistic remarks: - _MxStringBuffer need not be defined in the header, a forward declaration would be sufficient (a.k.a. encapsulation). - the two #defines can be removed form the header, too. - I wouldn't try to typedef away a pointer (as in typedef struct _MxStringBuffer * MxStringBufferRef) but either use the pointer (MxStringBuffer* ) or create a handle: struct MxHandleStringBuffer { _MxStringBuffer * impl; }; |
|