File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -303,6 +303,13 @@ void v8__Isolate__CreateParams__CONSTRUCT(v8::Isolate::CreateParams* buf) {
303303 new (buf) v8::Isolate::CreateParams ();
304304}
305305
306+ void v8__ResourceConstraints__ConfigureDefaultsFromHeapSize (
307+ v8::ResourceConstraints* self,
308+ size_t initial_heap_size_in_bytes,
309+ size_t maximum_heap_size_in_bytes) {
310+ self->ConfigureDefaultsFromHeapSize (initial_heap_size_in_bytes, maximum_heap_size_in_bytes);
311+ }
312+
306313const v8::Value* v8__Isolate__ThrowException (
307314 v8::Isolate* isolate,
308315 const v8::Value& exception) {
Original file line number Diff line number Diff line change @@ -302,6 +302,11 @@ typedef struct ResourceConstraints {
302302 uint32_t * stack_limit_ ;
303303} ResourceConstraints ;
304304
305+ void v8__ResourceConstraints__ConfigureDefaultsFromHeapSize (
306+ ResourceConstraints * self ,
307+ usize initial_heap_size_in_bytes ,
308+ usize maximum_heap_size_in_bytes );
309+
305310typedef struct CreateParams {
306311 void * code_event_handler ; // JitCodeEventHandler
307312 ResourceConstraints constraints ;
You can’t perform that action at this time.
0 commit comments