Open Lighting Architecture  0.9.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Macros
Array.h File Reference

Detailed Description

Helper macros / methods for static arrays.

Go to the source code of this file.

Namespaces

namespace  ola
 The namespace containing all OLA symbols.

Macros

#define arraysize(array)   (sizeof(ola::ArraySizeHelper(array)))
 Computes the size of the statically allocated array.

Macro Definition Documentation

#define arraysize (   array)    (sizeof(ola::ArraySizeHelper(array)))

Computes the size of the statically allocated array.

Parameters
arraythe array to get the size of.
Returns
the number of elements in the array.