Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly state msgpack doesn't modify char* buffers from RSTRING_PTR
From what I could investigate, msgpack doesn't modify char* buffers obtained from RSTRING_PTR. This means that on Rubinius we don't have to copy back and forth the buffer to make sure it's also updated on the Ruby side. This copying of buffers is a similar problem as the RARRAY_PTR problem, because it is not safe to expose GC'ed memory on Rubinius to extensions since it can move due to Rubinius having a moving GC.
- Loading branch information