July 08, 2007 General » version and extern problems | |||
|---|---|---|---|
| |||
...version(Windows)
{
extern(Windows):
typedef void function() foo;
}
else
{
extern(C):
typedef void function() foo... | |||
July 07, 2007 Learn » Re: Resource Management... Howto? | |||
|---|---|---|---|
| |||
...to work. import std.stdio, std.gc; typedef size_t hidden; hidden hide(Object ptr... | |||
July 06, 2007 Announce » a "go to definition" tool like visual studio for D | |||
|---|---|---|---|
| |||
...switch synchronized template this throw true try typedef typeid typeof ubyte ucent uint ulong union... | |||
July 03, 2007 General » Re: pass a delegate to an API as a context pointer? | |||
|---|---|---|---|
| |||
...m satisfied with this solution: // C-Library typedef void (*callback)(void *context); void xyz(callback... | |||
July 03, 2007 General » Re: Public outcry -- maybe not? | |||
|---|---|---|---|
| |||
...S {int x=7; bool y = true;}
# typedef int Sock = -1;
In both cases, the... | |||
July 03, 2007 General » Re: Public outcry against new .init behaviour | |||
|---|---|---|---|
| |||
...be an alias for typeof(t).init typedef int T = 3; T v1 = 5; // v1... | |||
July 03, 2007 Issues » [Issue 1311] New: DMD 1.018: Fix for bug657 breaks other code | |||
|---|---|---|---|
| |||
...version(Windows)
extern(Windows):
else
extern(C):
typedef void function() foo;
...
#####################
Compilation with DMD 1... | |||
July 03, 2007 General » Re: Public outcry against new .init behaviour | |||
|---|---|---|---|
| |||
...means that Walter missed typedef in his changes, or that typedef is intended to remain... | |||
July 02, 2007 General » pass a delegate to an API as a context pointer? | |||
|---|---|---|---|
| |||
...I'm trying to achieve. // C-Library typedef void (*callback)(void *context); void xyz(callback... | |||
July 02, 2007 General » Public outcry against new .init behaviour | |||
|---|---|---|---|
| |||
With pre-1.017/2.001 .init: typedef int foo = 1; foo x = 3; // x... | |||
Copyright © 1999-2021 by the D Language Foundation