Steven Schveighoffer <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #3 from Steven Schveighoffer <> 2010-05-10 
04:08:33 PDT ---
Actually, you need a type besides a D array because you do not want to trigger
runtime calls when setting the length.

Because those functions are extern(C) functions, you can return whatever type
you want (as long as it's the same size as an array struct).  But the portion
which sets the length must not use an actual array.

What we can do is change the return types (there are other functions which
return ulong) from ulong to the Array struct defined somewhere in that file.

There might be opitmizations that the compiler makes when forming a ulong vs.
some arbitrary type, I'll have to investigate that.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to