Re: [AD] SF.net SVN: alleg:[11393] allegro/branches/4.9 |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] SF.net SVN: alleg:[11393] allegro/branches/4.9
- From: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>
- Date: Tue, 6 Jan 2009 06:01:38 -0700
On January 6, 2009, Evert Glebbeek wrote:
> On 6-Jan-09, at 11:16 AM, Thomas Fjellstrom wrote:
> >>> fix al_path_exists return type
> >>
> >> Shouldn't it return bool rather than int32_t?
> >
> > Only if booleans can store three values.
>
> Yes/no/maybe?
> A path either exists, or it doesn't, right? Why do you need three
> return values?
As the code says, 1 for true, 0 for false, -1 on error.
> Evert
>
> ---------------------------------------------------------------------------
>---
--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx