Standard builtin/macros

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

 



	Hi there,

	Does anybody know if there is any built in function or header macro in
gcc similar to this?

	#define elementsof(array) (sizeof(array)/sizeof(array[0]))

	Has it been included into any C standard?

Cheers.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux