LibreOffice Module sal (master) 1
Macros
macros.h File Reference
#include <stddef.h>
Include dependency graph for macros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SAL_N_ELEMENTS(arr)   (sizeof (arr) / sizeof ((arr)[0]))
 
#define SAL_STRINGIFY_ARG(x)   #x
 
#define SAL_STRINGIFY(x)   SAL_STRINGIFY_ARG(x)
 

Macro Definition Documentation

◆ SAL_N_ELEMENTS

#define SAL_N_ELEMENTS (   arr)    (sizeof (arr) / sizeof ((arr)[0]))

Definition at line 51 of file macros.h.

◆ SAL_STRINGIFY

#define SAL_STRINGIFY (   x)    SAL_STRINGIFY_ARG(x)

Definition at line 57 of file macros.h.

◆ SAL_STRINGIFY_ARG

#define SAL_STRINGIFY_ARG (   x)    #x

Definition at line 56 of file macros.h.