Search

October 27, 2021
General »
...multiple versions is difficult?

There is no ifdef hell. The new version of a library...
October 27, 2021
General »
...versioning hell, but you end up in #ifdef hell instead.

So, what if we didn...
May 23, 2021
Learn »
...endEdit(void *, ParamID);
    tresult restartComponent(void *, int32);
};

#ifdef __cplusplus
extern "C" {
#endif
typedef struct FUnknownVTable...
May 11, 2021
General »
...C is general littered with #ifdef. Commonplace is the #ifdef __cplusplus and without the preprocessor...
May 10, 2021
General »
...I have lifted from the Linux kernel

    ```
    #ifdef __GNUC__
    /** Array size macro. Copied the Linux...
May 05, 2021
Learn »
...deliberately restricted, in order to avoid the "`#ifdef` hell" that often plagues C and C...
April 21, 2021
Learn »
Between them, Simen and Ali have cracked the case. Ali's demonstration that "true" was...
April 21, 2021
Learn »
...you're right. It's different than ifdef.

I think version is the closest thing...
April 21, 2021
Learn »
This would be correct if `i_am_a_feature` would be always defined, just set...
April 20, 2021
Learn »
enum i_am_a_feature = true;

static if(i_am_a_feature) {
   ...
}


enum isn't...
1 2 3 4 5 6
Next ›   Last »