January 13, 2019 Learn » Interfacing with C libs: weeding through C/C++ macros and such in header files | |||
|---|---|---|---|
| |||
...API static
#endif
#elif RS_C99
#define RS_API static inline
#elif defined(__GNUC__)
#define... | |||
September 09, 2018 General » Re: John Regehr on "Use of Assertions" | |||
|---|---|---|---|
| |||
...type " failure at " __FILE__ ": " GSL_STRINGIFY(__LINE__)))) #elif defined(GSL_TERMINATE_ON_CONTRACT_VIOLATION) #define... | |||
May 08, 2018 General » Disassemble binary. | |||
|---|---|---|---|
| |||
...n" -v RS="\n\n" '$1 ~ /'$2'/'
elif [ $# = 1 ]; then
objdump -d $1 | awk -F... | |||
January 31, 2018 General » Re: Inline code in the docs - the correct way | |||
|---|---|---|---|
| |||
...matching ( is found. Ditto for { }, [ ], < >, and #if/#elif/#else/#endif (!). It's been incredibly convenient... | |||
November 10, 2017 GDC » [Bug 109] Error compiling 4.8.2 on Cygwin | |||
|---|---|---|---|
| |||
...sun)
filename.c
---
#if _WIN32
char sep = '\\';
#elif POSIX
char sep = '/';
#endif
if (path[strlen... | |||
October 20, 2016 Learn » Re: Conditional Compilation Multiple Versions | |||
|---|---|---|---|
| |||
...defined(__INTEL_COMPILER) #define YEP_MICROSOFT_COMPILER #elif defined(__GNUC__) && !defined(__clang__) && !defined(__INTEL_COMPILER... | |||
September 24, 2016 Issues » [Issue 16536] DMD master does not build on OS X 10.11.6/Xcode 7.3.1 | |||
|---|---|---|---|
| |||
...targ_llong; typedef __UINT64_TYPE__ targ_ullong; #elif defined(__UINTMAX_TYPE__) typedef __INTMAX_TYPE__ targ... | |||
June 27, 2016 General » Re: static if enhancement | |||
|---|---|---|---|
| |||
...platform libraries written in C with #if #elif and #endif all other the place (used... | |||
June 25, 2016 General » Re: static if enhancement | |||
|---|---|---|---|
| |||
...was thinking for some time to have `elif` keyword. In this case it would be... | |||
June 25, 2016 General » Re: static if enhancement | |||
|---|---|---|---|
| |||
...else
{
}
I could write shorter:
static if (...)
{
}
elif (...)
{
}
elif(...)
{
}
else
{
}
In other hand it maybe... | |||
Copyright © 1999-2021 by the D Language Foundation