February 11, 2009 General » Re: Why version() ? | |||
|---|---|---|---|
| |||
...FIND_LIMITorUNIX_LIKE)
{
version(__STDC__)
typedef void (*handler)(int);
else
typedef void (*handler)();
version(SUNOS5SIGSorIRIX5orOSF1orHURDorNETBSD... | |||
February 10, 2009 General » Re: Why version() ? | |||
|---|---|---|---|
| |||
...or_UNIT_LIKE) {
version (__STDC__) {
typedef void (*handler)(int);
} else {
typedef void (*handler)();
}
version (SUNOS5SIGS... | |||
February 10, 2009 General » Re: Why version() ? | |||
|---|---|---|---|
| |||
...defined(UNIX_LIKE)
# ifdef __STDC__
typedef void (*handler)(int);
# else
typedef void (*handler)();
# endif
# if... | |||
February 07, 2009 Issues » [Issue 2649] New: Inconsistent naming in TypeInfo derived classes | |||
|---|---|---|---|
| |||
...next", "value", "name". There are exceptions: - TypeInfo_Typedef.m_init - TypeInfo_Pointer.m_next - TypeInfo... | |||
February 06, 2009 Issues » Re: [Issue 2647] New: typedef's and struct constructors | |||
|---|---|---|---|
| |||
On Fri, 06 Feb 2009 11:25:37 +0300, <d-bugmail@puremagic.com> wrote: Ouch! | |||
February 06, 2009 Issues » [Issue 2647] New: typedef's and struct constructors | |||
|---|---|---|---|
| |||
...issues/show_bug.cgi?id=2647
Summary: typedef's and struct constructors
Product: D
Version... | |||
February 04, 2009 Learn » C struct -> D struct (alignment hacks) | |||
|---|---|---|---|
| |||
...which I'm trying to translate.
- C -
typedef struct xy
{
int a:1;
int b... | |||
January 29, 2009 Learn » Re: Is there a way to remove the requirement for parenthesis? | |||
|---|---|---|---|
| |||
...typedef almost works for this. The problem is that if, e.g., one defines typedef... | |||
January 28, 2009 Learn » Re: Is there a way to remove the requirement for parenthesis? | |||
|---|---|---|---|
| |||
...to directly interact with ints, use a typedef. Personally, I like this usage for simple... | |||
January 21, 2009 Learn » Is there a way to remove the requirement for parenthesis? | |||
|---|---|---|---|
| |||
...trying to emulate how I want a typedef to act, but I run into a... | |||
Copyright © 1999-2021 by the D Language Foundation