File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 22
33//Provides: caml_unwrap_value_from_string
44//Requires: caml_failwith, caml_marshal_constants
5- //Requires: caml_int64_float_of_bits, caml_int64_of_bytes, caml_new_string
5+ //Requires: caml_int64_float_of_bits, caml_int64_of_bytes, caml_string_of_jsbytes
66//Requires: caml_jsbytes_of_string, caml_callback
77var caml_unwrap_value_from_string = function ( ) {
88 function StringReader ( s , i ) { this . s = caml_jsbytes_of_string ( s ) ; this . i = i ; }
@@ -34,7 +34,7 @@ var caml_unwrap_value_from_string = function (){
3434 readstr :function ( len ) {
3535 var i = this . i ;
3636 this . i = i + len ;
37- return caml_new_string ( this . s . substring ( i , i + len ) ) ;
37+ return caml_string_of_jsbytes ( this . s . substring ( i , i + len ) ) ;
3838 }
3939 }
4040 function caml_float_of_bytes ( a ) {
You can’t perform that action at this time.
0 commit comments