Maybe add a single proc to update a string if its cstring is modified separately? It would make this example much easier and the implementation seems easy assuming we cstring's memory is still within the string capacity. It seems to me it could be pretty nice to have such a proc in stdlib, actually.
- Providing writable string buffer to a foreign C-function olwi
- Re: Providing writable string buffer to a foreign C-func... Araq
- Re: Providing writable string buffer to a foreign C-... Udiknedormin
