Re: kernel.h: add ARRAY_AND_SIZE() macro to complement ARRAY_SIZE().

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Cyrill Gorcunov
Date: Saturday, September 20, 2008 - 6:45 am

[Christer Weinigel - Sat, Sep 20, 2008 at 03:05:29PM +0200]

Christer, _I_ was complaining not about naming
but about hiding function arguments. I suppose
it's better to define some inline wrapper for
platform_add_devices then use such a macro.

If you google a bit you may find that I was asking
someday why don't we define alias for memset when
we just it as _clearing_ routine ie memset(x, 0, sizeof(x)).

		- Cyrill -
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: kernel.h: add ARRAY_AND_SIZE() macro to complement ARR ..., Christer Weinigel, (Sat Sep 20, 6:05 am)
Re: kernel.h: add ARRAY_AND_SIZE() macro to complement ARR ..., Cyrill Gorcunov, (Sat Sep 20, 6:45 am)
Re: kernel.h: add ARRAY_AND_SIZE() macro to complement ARR ..., Christer Weinigel, (Sat Sep 20, 7:28 am)
Re: kernel.h: add ARRAY_AND_SIZE() macro to complement ARR ..., Christer Weinigel, (Sat Sep 20, 9:38 am)