September 11, 2006 Learn » tchar.h, #defines, Cpp to D | |||
|---|---|---|---|
| |||
...include "central.h" #define PROXY_DECLARE(proxy) \ typedef class I##proxy* PI##proxy; \ class NOVTABLE... | |||
September 10, 2006 Learn » Re: C to D struct including LPVOID,LPCSTR | |||
|---|---|---|---|
| |||
...size. I hate that C/C++ compatibility typedef/struct syntax. Confuses me every time - I... | |||
September 09, 2006 Learn » LPCSTR additional info: | |||
|---|---|---|---|
| |||
I forget : LPCSTR is a Winapi typedef : long pointer to a constant unicode portable string... | |||
September 09, 2006 Learn » C to D struct including LPVOID,LPCSTR | |||
|---|---|---|---|
| |||
...1)
/*Contexte d'enreg pour un fichier*/
typedef struct _stHFFileCtx {
LPVOID pData; /*pointeur vers une... | |||
September 09, 2006 Learn » C to D, HtoD fails | |||
|---|---|---|---|
| |||
...like to know how to translate : typedef DWORD PCTXHF; typedef PCTXHF far * PPCTXHF; into D... | |||
September 08, 2006 Issues » [Issue 334] New: Void Initializer ICE | |||
|---|---|---|---|
| |||
...digitalmars.com
ReportedBy: oskar.linde@gmail.com
typedef ubyte x = void;
void main() { new x... | |||
September 08, 2006 General » I've found the first thing in D that REALLY got on my nerves | |||
|---|---|---|---|
| |||
...audioMaster);
That works. Why? Because:
' extern (C)
' {
' typedef AEffect *function(audioMasterCallback) mainFunc;
' [snip]
' }
There's... | |||
September 07, 2006 General » Re: How to create C function pointers | |||
|---|---|---|---|
| |||
...easiest to typedef them; the typedef picks up the extern(C).
extern (C) {
typedef int... | |||
September 01, 2006 General » Re: Some more template syntax sugar | |||
|---|---|---|---|
| |||
...then again, I always name my parameters. typedef int x; void foo(x); //'x' is... | |||
August 29, 2006 General » Suggestion: function template overloading | |||
|---|---|---|---|
| |||
...left > right ? 1 : 0));
}
class Array(T) {
typedef int function(T, T) compare_func_t... | |||
Copyright © 1999-2021 by the D Language Foundation