Search

June 30, 2011
Learn »
...std.stdio: writeln;
import std.string: toStringz;

typedef const char* ccharPtr;

// example of C function...
June 29, 2011
Learn »
Andrej Mitrovic:

typedef is deprecated in D2. Try using an alias.

Bye,
bearophile
June 29, 2011
Learn »
HANDLE is defined as:
typedef void* HANDLE;

This is an opaque internal WinAPI type (signed...
June 26, 2011
Learn »
...it'll probably need some work once typedef goes away).

This seems to get the...
June 21, 2011
Announce »
...like these:

typedef void* HINSTANCE;

The problem is that both bindings create this typedef, and...
June 20, 2011
General »
Mehrdad:

D typedef was meant for this. Until there is something (probably library-based) to...
June 16, 2011
General »
...similar types:

typedef __nullterminated WCHAR *NWPSTR, *LPWSTR, *PWSTR;
typedef __nullterminated PWSTR *PZPWSTR;
typedef __nullterminated CONST...
June 15, 2011
DMD »
...templates:

	// in arraytypes.h
	typedef ArrayOf(Expression) Expressions; // with macros
	typedef Array< Expression > Expressions; // with...
June 10, 2011
General »
...s not quite the same thing. Without typedef (which is on its way out), you...
June 09, 2011
Issues »
...string
     - AA -> string
     - struct -> string
     - enum -> string
     - typedef -> string
     - bool -> string
     - array -> array
     - AA -> AA...
149 150 151 152 153 154 155 156 157 158 159
Next ›   Last »