Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eliom client with jsoo 5.9.0 #809

Merged
merged 1 commit into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/lib/client/eliom_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//Provides: caml_unwrap_value_from_string
//Requires: caml_failwith, caml_marshal_constants
//Requires: caml_int64_float_of_bits, caml_int64_of_bytes, caml_new_string
//Requires: caml_int64_float_of_bits, caml_int64_of_bytes, caml_string_of_jsbytes
//Requires: caml_jsbytes_of_string, caml_callback
var caml_unwrap_value_from_string = function (){
function StringReader (s, i) { this.s = caml_jsbytes_of_string(s); this.i = i; }
Expand Down Expand Up @@ -34,7 +34,7 @@ var caml_unwrap_value_from_string = function (){
readstr:function (len) {
var i = this.i;
this.i = i + len;
return caml_new_string(this.s.substring(i, i + len));
return caml_string_of_jsbytes(this.s.substring(i, i + len));
}
}
function caml_float_of_bytes (a) {
Expand Down
Loading