Created originally on Bitbucket by plan_rich (Richard Plangger)
- expose a raw_ptr for a resizable list for StringBuffer
This is a suboptimal solution, because it copies the whole buffer as soon as get_raw_address is called. What I would actually like to use is a function that yields an address of the property self.value in StringBuffer. However I think rpython string objects are movable which would require to pin the object.
Is there another way that would not require us to copy the buffer?