[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 26 11:17:02 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=5570



--- Comment #28 from Walter Bright <bugzilla at digitalmars.com> 2012-06-26 11:19:22 PDT ---
My intention is to have the following all behave the same way:

   delegate

   struct S { void*, void* }

   void*[2]

for parameter passing. The same goes for dynamic arrays. That means if you wrap
a type in a struct, it will still pass the same way.

The idea of making %.*s work with strings (without using .length and .ptr) has
been deprecated for a long time, it isn't worth it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list