You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
404 B

define: DUK_USE_VALSTACK_LIMIT
introduced: 2.2.0
default: 1000000
tags:
- misc
description: >
Maximum value stack size. If value stack is about to be grown beyond this
size (the check includes a possible spare so the check isn't exact) reject
the resize. The limit must be low enough so that when multiplied by
sizeof(duk_tval), typically 8 or 16, the multiplication won't overflow
size_t.