Re: Success-return-value

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

 



On Thu, 2010-04-22 at 15:46 +0200, Oliver Bandel wrote:

> is there a convention for return values in Gimp,
> which says: on success return TRUE or a value,
> and on failure FALSE or NULL?

That is the convention, yes.

> Or can it be different at different sources,
> rather be a taste of the one who developed something?

Well, there is lots of plug-in code that follows different coding styles
and conventions. We apply the GIMP coding style on all new files, but
there is still cruft in some corners of the code-base that has not been
cleaned up yet. So you might find code that uses a different convention
for return values.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux