Search

July 08, 2007
General »
...version(Windows)
{
    extern(Windows):
       typedef void function() foo;
}
else
{
    extern(C):
       typedef void function() foo...
July 07, 2007
Learn »
...to work.
import std.stdio, std.gc;

typedef size_t hidden;
hidden hide(Object ptr...
July 06, 2007
Announce »
...switch synchronized template this throw true try typedef typeid typeof ubyte ucent uint ulong union...
July 03, 2007
General »
...m satisfied with this solution:

// C-Library
typedef void (*callback)(void *context);
void xyz(callback...
July 03, 2007
General »
...S {int x=7; bool y = true;}
# typedef int Sock = -1;

In both cases, the...
July 03, 2007
General »
...be an alias for typeof(t).init

typedef int T = 3;
T v1 = 5; // v1...
July 03, 2007
Issues »
...version(Windows)
    extern(Windows):
else
    extern(C):

typedef void function() foo;
...
#####################

Compilation with DMD 1...
July 03, 2007
General »
...means that Walter missed typedef in his changes, or that typedef is intended to remain...
July 02, 2007
General »
...I'm trying to achieve.

// C-Library
typedef void (*callback)(void *context);
void xyz(callback...
July 02, 2007
General »
With pre-1.017/2.001 .init:

typedef int foo = 1;
foo x = 3; // x...
236 237 238 239 240 241 242 243 244 245 246
Next ›   Last »