Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the "private" compilation unit struct string_mx is fully defined but non-visible to a user of the API.

Code Block
union str_union_t {
	char *cstr;
	wchar_t *wstr;
};

struct string_mx {
    size_t size; 
    size_t maxsize; 
    unsigned char strtype;

    union str_union_t charset; 
    union str_union_t str; char *cstr;
};