July 19, 2011 Issues » [Issue 6348] New: Returning a struct from a C library function doesn't work correctly in 64 bit binaries | |||
|---|---|---|---|
| |||
...files with these contents.
File: test.c
typedef struct
{
float r,g,b,a;
} COLOR... | |||
July 19, 2011 Learn » Re: Calling D from C++ | |||
|---|---|---|---|
| |||
...that the function could not be found. typedef void (*PFGMO)(int*); void main(int argc... | |||
July 16, 2011 General » ID3 library wrapper (taglib, id3lib, anything) | |||
|---|---|---|---|
| |||
...surely not doing it right:
Original C: typedef struct { int foo; } Bar;
I tried: struct... | |||
July 11, 2011 Learn » Re: Implicit type conversion for function calls? | |||
|---|---|---|---|
| |||
...gmx.com> wrote: Basically, four types of typedef were outlined: Supertype!T - You may pass... | |||
July 10, 2011 General » Re: The issue with libraries that use Windows API prototypes | |||
|---|---|---|---|
| |||
...shouldn't be a problem as a typedef can be implicitly converted to its underlying... | |||
July 10, 2011 Learn » Re: Implicit type conversion for function calls? | |||
|---|---|---|---|
| |||
...what would be required to get a TypeDef template working properly though. I don't... | |||
July 10, 2011 Learn » Re: Implicit type conversion for function calls? | |||
|---|---|---|---|
| |||
...wrote: So then the idea of creating typedef as has been described before (and as... | |||
July 10, 2011 Learn » Re: Implicit type conversion for function calls? | |||
|---|---|---|---|
| |||
...it, which opImplicitCastTo/From would not be. For a typedef template, that's unacceptable. -- Simen | |||
July 10, 2011 Issues » [Issue 4269] Regression(2.031): invalid type accepted if evaluated while errors are gagged | |||
|---|---|---|---|
| |||
...6819
//static if(is(typeof(X5.init))) {}
//typedef Y X5;
// Compiles without error
//static if... | |||
July 10, 2011 Learn » Implicit type conversion for function calls? | |||
|---|---|---|---|
| |||
...trying to create templates that do what typedef should - create a supertype, subtype, or lateral... | |||
Copyright © 1999-2021 by the D Language Foundation