Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
PreprocessorHelpers.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PREPROCESSOR_TO_STRING(x)   PREPROCESSOR_TO_STRING_INNER(x)
 
#define PREPROCESSOR_TO_STRING_INNER(x)   #x
 
#define PREPROCESSOR_JOIN(x, y)   PREPROCESSOR_JOIN_INNER(x, y)
 
#define PREPROCESSOR_JOIN_INNER(x, y)   x##y
 
#define PREPROCESSOR_JOIN_FIRST(x, ...)   PREPROCESSOR_JOIN_FIRST_INNER(x, __VA_ARGS__)
 
#define PREPROCESSOR_JOIN_FIRST_INNER(x, ...)   x##__VA_ARGS__
 
#define PREPROCESSOR_IF(cond, x, y)   PREPROCESSOR_JOIN(PREPROCESSOR_IF_INNER_, cond)(x, y)
 
#define PREPROCESSOR_IF_INNER_1(x, y)   x
 
#define PREPROCESSOR_IF_INNER_0(x, y)   y
 
#define PREPROCESSOR_COMMA_SEPARATED(first, ...)   first, ##__VA_ARGS__
 
#define PREPROCESSOR_NOTHING
 
#define UE_SOURCE_LOCATION   TEXT(__FILE__ "(" PREPROCESSOR_TO_STRING(__LINE__) ")")
 
#define PREPROCESSOR_REMOVE_OPTIONAL_PARENS(...)   PREPROCESSOR_JOIN_FIRST(PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL,PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL __VA_ARGS__)
 
#define PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL(...)   PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL __VA_ARGS__
 
#define PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPLPREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL
 
#define PLATFORM_HEADER_NAME   Windows
 
#define PLATFORM_IS_EXTENSION   0
 
#define COMPILED_PLATFORM_HEADER(Suffix)   PREPROCESSOR_TO_STRING(PREPROCESSOR_JOIN(PLATFORM_HEADER_NAME/PLATFORM_HEADER_NAME, Suffix))
 
#define COMPILED_PLATFORM_HEADER_WITH_PREFIX(Prefix, Suffix)   PREPROCESSOR_TO_STRING(Prefix/PLATFORM_HEADER_NAME/PREPROCESSOR_JOIN(PLATFORM_HEADER_NAME, Suffix))
 

Macro Definition Documentation

◆ COMPILED_PLATFORM_HEADER

#define COMPILED_PLATFORM_HEADER ( Suffix)    PREPROCESSOR_TO_STRING(PREPROCESSOR_JOIN(PLATFORM_HEADER_NAME/PLATFORM_HEADER_NAME, Suffix))

Definition at line 59 of file PreprocessorHelpers.h.

◆ COMPILED_PLATFORM_HEADER_WITH_PREFIX

#define COMPILED_PLATFORM_HEADER_WITH_PREFIX ( Prefix,
Suffix )   PREPROCESSOR_TO_STRING(Prefix/PLATFORM_HEADER_NAME/PREPROCESSOR_JOIN(PLATFORM_HEADER_NAME, Suffix))

Definition at line 67 of file PreprocessorHelpers.h.

◆ PLATFORM_HEADER_NAME

#define PLATFORM_HEADER_NAME   Windows

Definition at line 47 of file PreprocessorHelpers.h.

◆ PLATFORM_IS_EXTENSION

#define PLATFORM_IS_EXTENSION   0

Definition at line 51 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_COMMA_SEPARATED

#define PREPROCESSOR_COMMA_SEPARATED ( first,
... )   first, ##__VA_ARGS__

Definition at line 23 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_IF

#define PREPROCESSOR_IF ( cond,
x,
y )   PREPROCESSOR_JOIN(PREPROCESSOR_IF_INNER_, cond)(x, y)

Definition at line 18 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_IF_INNER_0

#define PREPROCESSOR_IF_INNER_0 ( x,
y )   y

Definition at line 20 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_IF_INNER_1

#define PREPROCESSOR_IF_INNER_1 ( x,
y )   x

Definition at line 19 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_JOIN

#define PREPROCESSOR_JOIN ( x,
y )   PREPROCESSOR_JOIN_INNER(x, y)

Definition at line 10 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_JOIN_FIRST

#define PREPROCESSOR_JOIN_FIRST ( x,
... )   PREPROCESSOR_JOIN_FIRST_INNER(x, __VA_ARGS__)

Definition at line 14 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_JOIN_FIRST_INNER

#define PREPROCESSOR_JOIN_FIRST_INNER ( x,
... )   x##__VA_ARGS__

Definition at line 15 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_JOIN_INNER

#define PREPROCESSOR_JOIN_INNER ( x,
y )   x##y

Definition at line 11 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_NOTHING

#define PREPROCESSOR_NOTHING

Definition at line 26 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_REMOVE_OPTIONAL_PARENS

◆ PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL

#define PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL ( ...)    PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL __VA_ARGS__

Definition at line 38 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPLPREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL

#define PREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPLPREPROCESSOR_REMOVE_OPTIONAL_PARENS_IMPL

Definition at line 39 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_TO_STRING

#define PREPROCESSOR_TO_STRING ( x)    PREPROCESSOR_TO_STRING_INNER(x)

Definition at line 6 of file PreprocessorHelpers.h.

◆ PREPROCESSOR_TO_STRING_INNER

#define PREPROCESSOR_TO_STRING_INNER ( x)    #x

Definition at line 7 of file PreprocessorHelpers.h.

◆ UE_SOURCE_LOCATION

#define UE_SOURCE_LOCATION   TEXT(__FILE__ "(" PREPROCESSOR_TO_STRING(__LINE__) ")")

Definition at line 28 of file PreprocessorHelpers.h.