@@ -86,14 +86,23 @@ function caml_memprof_discard(_t) {
8686 return 0 ;
8787}
8888
89+ //Provides: caml_memprof_participate
90+ //Version: >= 5.2, < 5.3
91+ //OxCaml
92+ function caml_memprof_participate ( _config ) {
93+ return 0 ;
94+ }
95+
8996//Provides: caml_eventlog_resume
90- //Version: < 5.0
97+ //Version: <= 5.2
98+ //(actually < 5.0, but OxCaml still references it)
9199function caml_eventlog_resume ( _unit ) {
92100 return 0 ;
93101}
94102
95103//Provides: caml_eventlog_pause
96- //Version: < 5.0
104+ //Version: <= 5.2
105+ //(actually < 5.0, but OxCaml still references it)
97106function caml_eventlog_pause ( _unit ) {
98107 return 0 ;
99108}
@@ -130,3 +139,26 @@ function caml_get_major_bucket(_n) {
130139function caml_get_major_credit ( _n ) {
131140 return 0 ;
132141}
142+
143+ //Provides: caml_gc_tweak_get
144+ //Requires: caml_invalid_argument
145+ //Version: >= 5.2, < 5.3
146+ //OxCaml
147+ function caml_gc_tweak_get ( _name ) {
148+ caml_invalid_argument ( "Gc.Tweak: parameter not found" ) ;
149+ }
150+
151+ //Provides: caml_gc_tweak_set
152+ //Requires: caml_invalid_argument
153+ //Version: >= 5.2, < 5.3
154+ //OxCaml
155+ function caml_gc_tweak_set ( _name , _value ) {
156+ caml_invalid_argument ( "Gc.Tweak: parameter not found" ) ;
157+ }
158+
159+ //Provides: caml_gc_tweak_list_active
160+ //Version: >= 5.2, < 5.3
161+ //OxCaml
162+ function caml_gc_tweak_list_active ( _unit ) {
163+ return 0 ;
164+ }
0 commit comments