wesgarland / gpsee

General Purpose Spidermonkey Embedding Ecosystem
https://github.com/wesgarland/gpsee
4 stars 0 forks source link

mutable bytething cast returns copies, not references #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, the ByteArray() and ByteString() casting calls create copies if
not casting if either the argument's type or the target type are mutable
((clasp == byteString_clasp) && (hnd->btFlags & bt_immutable))

byteThing_Cast() will need to be looked at soon when COW (issue 13) gets going.

Original issue reported on code.google.com by donny.vi...@gmail.com on 26 Jan 2010 at 6:18

GoogleCodeExporter commented 9 years ago

Original comment by wes@page.ca on 5 Sep 2012 at 3:21