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.
 
 
 
 
 
 

16 lines
479 B

=proto
void duk_destroy_heap(duk_context *ctx);
=summary
<p>Destroy a Duktape heap. The argument context can be any context linked
to the heap. All resources related to the heap are freed and must not be
referenced after the call completes. These resources include all contexts
linked to the heap, and also all string and buffer pointers within the heap.</p>
<p>If <code>ctx</code> is <code>NULL</code>, the call is a no-op.</p>
=example
duk_destroy_heap(ctx);
=tags
heap