November 11, 2021 General » Re: Is importC ready? | |||
|---|---|---|---|
| |||
...fail on all other compilers. ```#ifdef``` and ```#ifndef``` are used to tailor the declarations/definitions... | |||
November 11, 2021 General » Re: Is importC ready? | |||
|---|---|---|---|
| |||
Isn't `#ifndef` handled by the preprocessor? The `__restrict` problem I encountered is in the... | |||
November 11, 2021 General » Re: Is importC ready? | |||
|---|---|---|---|
| |||
...names that start with two "__", because of ```#ifndef```. It is kinda tricky as C code... | |||
March 01, 2021 Issues » [Issue 21655] win32 dialog app, main dialog box is not centered | |||
|---|---|---|---|
| |||
...14, 0, WS_EX_LEFT } ---------- resource.h: #ifndef IDC_STATIC #define IDC_STATIC (-1) #endif... | |||
November 05, 2019 LDC » Can't add the allocated section to elf file using inline assembly | |||
|---|---|---|---|
| |||
Using clang the following code: ``` __asm__ __volatile__ ( ".ifndef _.stapsdt.base\n" \ ".pushsection .stapsdt.base,\"aG... | |||
July 22, 2019 General » Re: [GSoC] Header Generation for C/C++ | |||
|---|---|---|---|
| |||
...emit this: #ifndef D_ENUM # define D_ENUM(name, type) enum name #endif #ifndef D... | |||
July 17, 2019 General » Re: [GSoC] Header Generation for C/C++ | |||
|---|---|---|---|
| |||
...to have wrap the definitions inside an `#ifndef \ #define` block. Another one would be to... | |||
February 20, 2019 General » From C to D: issue with arguments for core.stdc.string.memcpy | |||
|---|---|---|---|
| |||
...t
Here's the relevant C code
#ifndef RS_STACK_CAPACITY
#define RS_STACK_CAPACITY... | |||
January 15, 2019 General » Re: The worst D code you'll ever see | |||
|---|---|---|---|
| |||
...include <stdlib.h>
#include <time.h>
/* Defines */
#ifndef NO_STTY
#define S1 system("stty cbreak... | |||
January 13, 2019 Learn » Interfacing with C libs: weeding through C/C++ macros and such in header files | |||
|---|---|---|---|
| |||
...whether I even need this or not):
#ifndef RS_API
#ifdef RS_NOINLINE
/* GCC version... | |||
Copyright © 1999-2021 by the D Language Foundation