ae2f_docs
Cxx.h File Reference

Go to the source code of this file.

Macros

#define ae2f_NONE
 Literally nothing.
#define ae2f_WhenC(...)
 Appears when the current language is C++.
#define ae2f_WhenCXX(...)
 Appears when the current language is C.
#define ae2f_is_cxx   ae2f_WhenC(0) ae2f_WhenCXX(1)
#define ae2f_c_check   && !ae2f_is_cxx
 Putting it after one condition in if will find if the script's language considered as [C], while doxygen does not notice.
#define ae2f_cxx_check   && ae2f_is_cxx
 Putting it after one condition in if will find if the script's language considered as [C++], while doxygen does not notice.

Detailed Description

Author
ae2f
Date
2025-02-01

Definition in file Cxx.h.

Macro Definition Documentation

◆ ae2f_c_check

#define ae2f_c_check   && !ae2f_is_cxx

Putting it after one condition in if will find if the script's language considered as [C], while doxygen does not notice.

For alter, see ae2f_cxx_check

Definition at line 46 of file Cxx.h.

◆ ae2f_cxx_check

#define ae2f_cxx_check   && ae2f_is_cxx

Putting it after one condition in if will find if the script's language considered as [C++], while doxygen does not notice.

For alter, see ae2f_c_check

Definition at line 52 of file Cxx.h.

◆ ae2f_is_cxx

#define ae2f_is_cxx   ae2f_WhenC(0) ae2f_WhenCXX(1)

Definition at line 40 of file Cxx.h.

◆ ae2f_NONE

#define ae2f_NONE

Literally nothing.

Definition at line 13 of file Cxx.h.

◆ ae2f_WhenC

#define ae2f_WhenC ( ...)
Value:
__VA_ARGS__

Appears when the current language is C++.

Definition at line 30 of file Cxx.h.

◆ ae2f_WhenCXX

#define ae2f_WhenCXX ( ...)
Value:
#define ae2f_NONE
Literally nothing.
Definition Cxx.h:13

Appears when the current language is C.

Definition at line 34 of file Cxx.h.