On 07/12/2013 04:06 PM, Patrick Walton wrote:
On 7/12/13 12:18 PM, Josh Matthews wrote:
When you say "very much", I get worried. All codegen'ed DOM code uses @
pointers
Does it need to use @ pointers? That seems unfortunate.
At one point I was trying to write bindings code that could deal with
either ~ or @ pointers, because objects like ClientRectList need to hold
on to a list of ClientRect objects, and it objected when ClientRect
created JS wrappers for itself because the ~self value was moved in
doing so. I hit a wall trying to write code that could deal with both
types of pointers, though I forget the specifics, so I gave up after
several days of banging my head against the compiler.
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo