Open
Description
In the top level :
# let s = "bla" ;;
val s : string = "bla"
# let s' = allocate string s ;;
val s' : string Ctypes.ptr = (char**) 0x29665f0
# !@s' ;;
- : string = "bla"
# Gc.full_major () ;;
- : unit = ()
# !@s' ;;
- : string = "\160e\150\002""
According to the documentation, isn't the string view supposed to avoid this issue ?