Re: GError implementation



>>> gint         code;
>>> const gchar *str;
>> 
>> can we write this out? "string" isn't an awfully long name, other
>> candidates are "description", or to think of the Gimp's API "blurb".
> 
> If you want to be able to use this with C++, then 'string' would
> probably cause problems with the STL 'string' class.

No, it won't. This str/string thing we are talking about is a member of a
structure. This will never conflict with the name of a type in C++ (nor in C
for that matter). "string" is not a keyword in C++.

    -- Darin





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]