January 13, 2019 Learn » Interfacing with C libs: weeding through C/C++ macros and such in header files | |||
|---|---|---|---|
| |||
...static __forceinline
#else
#define RS_API static
#endif
#endif
I understand what it's doing... | |||
September 09, 2018 General » Re: John Regehr on "Use of Assertions" | |||
|---|---|---|---|
| |||
...GSL_UNENFORCED_ON_CONTRACT_VIOLATION) #define GSL_CONTRACT_CHECK(type, cond) GSL_ASSUME(cond) #endif | |||
August 17, 2018 General » Re: How possible is it to put DWARF debug infos in MSCOFF objects ? | |||
|---|---|---|---|
| |||
...char *filename, const char *csegname, const char
}
#endif
if (config.fulltypes)
- cv8_initmodule(filename, modname... | |||
June 09, 2018 Learn » Re: Passing C++ class to DLL for callbacks from D (Steam) | |||
|---|---|---|---|
| |||
...lib") #define _CRT_SECURE_NO_WARNINGS 1 #endif #include "public/steam/steam_api.h" #ifdef... | |||
June 06, 2018 Genel » Makrolar | |||
|---|---|---|---|
| |||
...LINE__ << ": "; \
std::cerr << #X" = " << (X) << std::endl; \
}
#endif
int main()
{
int var = 15;
LOG(var... | |||
May 29, 2018 Learn » Re: using wkhtmltopdf with D | |||
|---|---|---|---|
| |||
...WIN32 #define CALLTYPE __stdcall #else #define CALLTYPE #endif #ifdef __cplusplus #define CAPI(type) extern "C... | |||
March 26, 2018 Issues » [Issue 18667] New: Segfault in std.file.dirEntries | |||
|---|---|---|---|
| |||
...readdir.c
#ifndef __READDIR
# define __READDIR __readdir
...
#endif
__READDIR (DIR *dirp)
{
DIRENT_TYPE *dp;
int... | |||
February 27, 2018 General » Re: C++ launched its community survey, too | |||
|---|---|---|---|
| |||
...wrapped with:
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif __cplusplus
because without that, a... | |||
February 05, 2018 General » Re: Inline code in the docs - the correct way | |||
|---|---|---|---|
| |||
...t know how long the matching #if/#endif feature has been there, I haven't... | |||
January 31, 2018 General » Re: Inline code in the docs - the correct way | |||
|---|---|---|---|
| |||
...found. Ditto for { }, [ ], < >, and #if/#elif/#else/#endif (!). It's been incredibly convenient.
With Ddoc... | |||
Copyright © 1999-2021 by the D Language Foundation