I have a ccall to a library that returns a C-string `cstr = ccall(__)`. I understand that v0.5/current practice is to do `jstr = unsafe_string(cstr)` upon obtaining `cstr`. The cstr is freed by another ccall. If I want to use or return that string as a Julia String type, do I need to do something more before/after freeing the cstr?
- [julia-users] How to make an unsafe_string safe? Jeffrey Sarnoff
- Re: [julia-users] How to make an unsafe_string safe? Yichao Yu
- Re: [julia-users] How to make an unsafe_string sa... Jeffrey Sarnoff
