Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
Array.h File Reference

Detailed Description

Helper macros / methods for static arrays.

Go to the source code of this file.

Classes

class  ola::ArrayDeleter
 Deletes an array when it goes out of scope. More...
 

Namespaces

namespace  ola
 The namespace containing all OLA symbols.
 

Macros

#define arraysize(array)
 Computes the size of the statically allocated array.
 

Macro Definition Documentation

◆ arraysize

#define arraysize ( array)
Value:
(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.