Mercurial > projects > ldc
comparison lphobos/internal/objectimpl.d @ 73:b706170e24a9 trunk
[svn r77] Fixed foreach on slice.
Fixed some nested function problems when accessing outer function parameters.
Major changes to handling of structs.
Initial support for unions.
Probably more...
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 03:11:32 +0100 |
parents | d7e764e62462 |
children | fd32135dca3e |
comparison
equal
deleted
inserted
replaced
72:d7e764e62462 | 73:b706170e24a9 |
---|---|
972 } | 972 } |
973 } | 973 } |
974 return h; | 974 return h; |
975 } | 975 } |
976 | 976 |
977 int equals(void *p2, void *p1) | 977 int equals(void *p1, void *p2) |
978 { int c; | 978 { int c; |
979 | 979 |
980 if (p1 == p2) | 980 if (p1 == p2) |
981 c = 1; | 981 c = 1; |
982 else if (!p1 || !p2) | 982 else if (!p1 || !p2) |