@@ -353,20 +353,6 @@ function caml_bytes_set16(s, i, i16) {
353353 return 0 ;
354354}
355355
356- //Provides: caml_string_set16
357- //Requires: caml_failwith
358- //If: js-string
359- function caml_string_set16 ( s , i , i16 ) {
360- caml_failwith ( "caml_string_set16" ) ;
361- }
362-
363- //Provides: caml_string_set16
364- //Requires: caml_bytes_set16
365- //If: !js-string
366- function caml_string_set16 ( s , i , i16 ) {
367- return caml_bytes_set16 ( s , i , i16 ) ;
368- }
369-
370356//Provides: caml_bytes_set32
371357//Requires: caml_bytes_bound_error, caml_bytes_unsafe_set
372358function caml_bytes_set32 ( s , i , i32 ) {
@@ -382,20 +368,6 @@ function caml_bytes_set32(s, i, i32) {
382368 return 0 ;
383369}
384370
385- //Provides: caml_string_set32
386- //Requires: caml_failwith
387- //If: js-string
388- function caml_string_set32 ( s , i , i32 ) {
389- caml_failwith ( "caml_string_set32" ) ;
390- }
391-
392- //Provides: caml_string_set32
393- //Requires: caml_bytes_set32
394- //If: !js-string
395- function caml_string_set32 ( s , i , i32 ) {
396- return caml_bytes_set32 ( s , i , i32 ) ;
397- }
398-
399371//Provides: caml_bytes_set64
400372//Requires: caml_bytes_bound_error, caml_bytes_unsafe_set
401373//Requires: caml_int64_to_bytes
@@ -408,20 +380,6 @@ function caml_bytes_set64(s, i, i64) {
408380 return 0 ;
409381}
410382
411- //Provides: caml_string_set64
412- //Requires: caml_failwith
413- //If: js-string
414- function caml_string_set64 ( s , i , i64 ) {
415- caml_failwith ( "caml_string_set64" ) ;
416- }
417-
418- //Provides: caml_string_set64
419- //Requires: caml_bytes_set64
420- //If: !js-string
421- function caml_string_set64 ( s , i , i64 ) {
422- return caml_bytes_set64 ( s , i , i64 ) ;
423- }
424-
425383//Provides: caml_bytes_set
426384//Requires: caml_bytes_bound_error, caml_bytes_unsafe_set
427385function caml_bytes_set ( s , i , c ) {
@@ -712,13 +670,6 @@ function caml_string_unsafe_get(s, i) {
712670 return s . charCodeAt ( i ) ;
713671}
714672
715- //Provides: caml_string_unsafe_set
716- //Requires: caml_failwith
717- //If: js-string
718- function caml_string_unsafe_set ( s , i , c ) {
719- caml_failwith ( "caml_string_unsafe_set" ) ;
720- }
721-
722673//Provides: caml_ml_string_length const
723674//If: js-string
724675function caml_ml_string_length ( s ) {
0 commit comments