why does a void function have a return value

Richard Laager rlaager at wiktel.com
Sat Mar 28 08:04:48 EDT 2009


On Sat, 2009-03-28 at 12:05 +0800, enst wrote:
> account-authorization-requested
> void (*account_authorization_requested)(PurpleAccount *account, const
> char *user);

The correct return type, according to the code, is int. I've corrected
the documentation. Thanks for bringing this documentation bug to our
attention.

Richard




More information about the Devel mailing list