January 31, 2007 Learn » Re: Qs about structs and their references WRT C functions and variables | |||
|---|---|---|---|
| |||
...d
struct ControlID
{
uint signature;
int id;
}
typedef ControlID HIViewID;
extern(C) const HIViewID kHIViewWindowContentID... | |||
January 31, 2007 Learn » Qs about structs and their references WRT C functions and variables | |||
|---|---|---|---|
| |||
...g.:
struct
ControlID
{
uint signature;
int id;
};
typedef ControlID HIViewID;
extern (C)
const HIViewID kHIViewWindowContentID... | |||
January 30, 2007 Learn » Re: external relocation entries in non-writable section? (SOLVED) | |||
|---|---|---|---|
| |||
...d.D)
The typedef should take care of that, I think ? ("typedef" vs "alias")
What... | |||
January 30, 2007 Learn » Re: external relocation entries in non-writable section? | |||
|---|---|---|---|
| |||
...even with the "const"...
struct __CFString { } // opaque
typedef const __CFString* CFStringRef;
extern(C) CFStringRef __CFStringMakeConstantString... | |||
January 30, 2007 Learn » external relocation entries in non-writable section? | |||
|---|---|---|---|
| |||
...modules (CFString.d) has this:
struct __CFString {};
typedef const __CFString* CFStringRef;
extern (C)
CFStringRef
__CFStringMakeConstantString... | |||
January 30, 2007 GDC » [Issue 906] GDC Phobos std.demangle can't demangle symbol | |||
|---|---|---|---|
| |||
...demangles to: typedef macos.carbon.hitoolbox.Types.OSStatus macos.carbon.hitoolbox.CarbonEventsCore.InstallEventHandler(typedef macos... | |||
January 30, 2007 Learn » Re: How to convert C macro that calls function returning a struct*? | |||
|---|---|---|---|
| |||
Try dropping the const from the typedef. L. | |||
January 30, 2007 Learn » Re: How to convert C macro that calls function returning a struct*? | |||
|---|---|---|---|
| |||
I used this:
struct __CFString { }
typedef __CFString* CFStringRef;
typedef __CFString* CFMutableStringRef;
extern (C) CFStringRef __CFStringMakeConstantString... | |||
January 30, 2007 Learn » How to convert C macro that calls function returning a struct*? | |||
|---|---|---|---|
| |||
...implement the following C macro (context provided): typedef const struct __CFString * CFStringRef; #define CFSTR(cStr... | |||
January 27, 2007 General » Re: Can I typedef pointer to extern (C) function? | |||
|---|---|---|---|
| |||
Mike Parker Wrote: Yeah; sorry about that. I had trouble posting it the first time... | |||
Copyright © 1999-2021 by the D Language Foundation