Re: [Vala] sqlite3 vapi patch



ErrorCode sounds good, even not all values being errors.

On Nov 10, 2007 8:49 PM, pancake <pancake youterm com> wrote:
Yes.. I choosed Value because is shorter and you should probably use:
Sqlite.Value.OK...but I would rather prefer to use Sqlite.OK like java
does when defining public final static variables.

Maybe ReturnCode or ErrorCode is a better choose. I agree.

But we should be coherent because this is so common with other libraries
and would be good if all of them where called in the same way.

Votes for ErrorCode? Votes for ReturnCode? =)



On Sat, Nov 10, 2007 at 10:52:53PM +0100, Ed Schouten wrote:
> * pancake <pancake youterm com> wrote:
> > I have updated the sqlite3 vapi file to handle the return values of exec()
> > and step() using the defines found in the sqlite3.h.
>
> I think the usage of the name Value is a little too generic. Why not
> name it ReturnCode or ErrorCode?
>
> --
>  Ed Schouten < ed fxq nl>
>  WWW: http://g-rave.nl/


_______________________________________________
Vala mailing list
Vala paldo org
http://www.paldo.org/mailman/listinfo/vala



--
Marcelo Lira dos Santos
http://setanta.wordpress.com
@CInLUG: http://www.cin.ufpe.br/~cinlug
@Ciência Livre: http://www.ciencialivre.pro.br
@INdT: http://www.indt.org.br

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