Re: [AD] Renaming of functions in kcm_audio addon

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, Nov 26, 2008 at 5:14 AM, Peter Wang <novalazy@xxxxxxxxxx> wrote:
> On 2008-11-25, Evert Glebbeek <EGLEBBK@xxxxxx> wrote:
>>
>> al_is_channel_conf            al_channel_is_configured
>> al_channel_count              al_channel_count
>> al_depth_size                 al_depth_size
>>
>
> al_get_channel_count
> al_get_depth_size
>
> We should probably rename al_current_time() and al_key_down()
> as well.
>

Maybe it should be al_is_channel_configured() instead?

I would be fine with exempting all al_get_...() functions from the
verb-requirement and leave out the _get  - but we shouldn't have the
_get in some and not in others. Either
al_bitmap_width()/al_channel_count()/al_key_down() etc. for
everything, or al_get_...() for everything.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/