OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
macros.h File Reference
#include <string>
#include <cstdlib>
#include "str_utils.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.

Namespaces

namespace  Utils
 

Macros

#define IS_WINDOWS   (0)
 
#define IS_LINUX   (0)
 
#define IS_APPLE   (0)
 
#define IS_UNIX   (0)
 
#define ARRAY_COUNT(array_)   (sizeof(array_)/sizeof((array_)[0]))
 
#define CSTR_COUNT(cstr_)   (ARRAY_COUNT(cstr_)-1)
 

Macro Definition Documentation

◆ ARRAY_COUNT

#define ARRAY_COUNT (   array_)    (sizeof(array_)/sizeof((array_)[0]))

Definition at line 123 of file macros.h.

◆ CSTR_COUNT

#define CSTR_COUNT (   cstr_)    (ARRAY_COUNT(cstr_)-1)

Definition at line 127 of file macros.h.

◆ IS_APPLE

#define IS_APPLE   (0)

Definition at line 26 of file macros.h.

◆ IS_LINUX

#define IS_LINUX   (0)

Definition at line 20 of file macros.h.

◆ IS_UNIX

#define IS_UNIX   (0)

Definition at line 32 of file macros.h.

◆ IS_WINDOWS

#define IS_WINDOWS   (0)

Definition at line 14 of file macros.h.