Search

January 31, 2007
Learn »
...d

struct ControlID
{
    uint signature;
    int id;
}

typedef ControlID HIViewID;
extern(C) const HIViewID kHIViewWindowContentID...
January 31, 2007
Learn »
...g.:

struct
ControlID
{
	uint		signature;
	int		id;
};
typedef ControlID                       HIViewID;
extern (C)
const HIViewID kHIViewWindowContentID...
January 30, 2007
Learn »
...d.D)

The typedef should take care of that, I think ? ("typedef" vs "alias")
What...
January 30, 2007
Learn »
...even with the "const"...

struct __CFString { } // opaque
typedef const __CFString* CFStringRef;

extern(C) CFStringRef __CFStringMakeConstantString...
January 30, 2007
Learn »
...modules (CFString.d) has this:

struct __CFString {};
typedef const __CFString*				CFStringRef;

extern (C)
CFStringRef
__CFStringMakeConstantString...
January 30, 2007
GDC »
...demangles to:

typedef macos.carbon.hitoolbox.Types.OSStatus macos.carbon.hitoolbox.CarbonEventsCore.InstallEventHandler(typedef macos...
January 30, 2007
Learn »
Try dropping the const from the typedef.

L.
January 30, 2007
Learn »
I used this:
struct __CFString { }
typedef __CFString* CFStringRef;
typedef __CFString* CFMutableStringRef;

extern (C) CFStringRef __CFStringMakeConstantString...
January 30, 2007
Learn »
...implement the following C macro (context provided):

typedef const struct __CFString * CFStringRef;
#define CFSTR(cStr...
January 27, 2007
General »
Mike Parker Wrote:

Yeah; sorry about that. I had trouble posting it the first time...
245 246 247 248 249 250 251 252 253 254 255
Next ›   Last »