changeset | 0a5f7890f327 |
---|---|
branch | |
bookmark | |
tag | |
user | Frits van Bommel <fvbommel wxs.nl> |
description | Adjust some more code that was depending on the function and delegate calling conventions being equal. There's also an instance in `tango.text.convert.Layout` that should be adjusted: {{{ Index: tango/text/convert/Layout.d =================================================================== --- tango/text/convert/Layout.d (revision 4578) +++ tango/text/convert/Layout.d (working copy) -660,8 +660,12 @@ case TypeCode.STRUCT: auto s = cast(TypeInfo_Struct) type; - if (s.xtoString) - return Utf.fromString8 (s.xtoString(p), result); + if (s.xtoString) { + char[] delegate() toString; + toString.ptr = p; + toString.funcptr = cast(char[] function()) s.xtoString; + return Utf.fromString8 (toString(), result); + } goto default; case TypeCode.INTERFACE: }}} |
files |
changeset | a9feaed801d7 |
---|---|
branch | |
bookmark | |
tag | |
user | Frits van Bommel <fvbommel wxs.nl> |
description | Fix {,w,d}char handling in tests/mini/vararg6.d:print() |
files |
changeset | cc40db549aea |
---|---|
branch | |
bookmark | |
tag | |
user | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
description | Changed the handling of variadic intrinsics a bit. Removed the -fp80 option and made real be 80bit floats on X86, this is what the D spec really says it should be and fixes a bunch of issues. Changed the handling of parameter attributes to a bit more generalized approach. Added sext/zext attributes for byte/short/ubyte/ushort parameters, fixes #60 . Parameter attribs now properly set for intrinsic calls if necessary. Made the tango.math.Math patch less intrusive. Fixed/added some mini tests. |
files |
changeset | 1bb99290e03a |
---|---|
branch | trunk |
bookmark | |
tag | |
user | lindquist |
description | [svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'. |
files |