Function Macro

GLibN_ELEMENTS

Declaration [src]

#define G_N_ELEMENTS (
  arr
)

Description [src]

Determines the number of elements in an array. The array must be declared so the compiler knows its size at compile-time; this macro will not work on an array allocated on the heap, only static arrays or arrays on the stack.

Parameters

arr -
 

The array.