[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [paragui-users] Tiny detail about the PopupMenu.
From: |
Andrew Ford |
Subject: |
Re: [paragui-users] Tiny detail about the PopupMenu. |
Date: |
Tue, 18 Jun 2002 12:39:17 -0700 (PDT) |
I think I've suggested that before, but now I'm not so
sure. For one thing, keeping two versions of every
function is going to be a pain. For things like the
style arguments, you'll almost always be using const
char*, so changing them isn't worthwhile. I
personally would rather use strings for arguments such
as labels and so on, and I think it's better style,
but I don't know about forcing people to use them. Of
course, the user doesn't know if he passes in a
regular char * to a dynamic string whether it's copied
inside paragui or not (of course, they are), whereas
strings would always be copied so the user wouldn't
have to worry about it.
Andrew.
--- "Roger D. Vargas" <address@hidden> wrote:
> On Tue, 18 Jun 2002, Andrew Ford wrote:
>
> > Maybe we should do a code review before 1.2, and
> make
> > up a list of things to check. Const correctness
> is
> > one thing. I'd also like to examine the API for
> > inconsistencies, since we're going to be breaking
> > compatibility anyway. What else can we review in
> such
> > things?
> Maybe change all char * to C++ string or have two
> functions versions, one
> for char * and the other for string.
>
> --
> Roger D. Vargas | El sistema se apagara en 5
> segundos.
> ICQ: 117641572 | Salvese el que pueda!
> Linux User: 180787 |
>
>
> _______________________________________________
> paragui-users mailing list
> address@hidden
>
http://mail.freesoftware.fsf.org/mailman/listinfo/paragui-users
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com