=proto void *duk_push_dynamic_buffer(duk_context *ctx, size_t size); =stack [ ... ] -> [ ... buf! ] =summary

Allocate a dynamic (resizable) buffer and push it to the value stack. Shortcut for duk_push_buffer() with dynamic = 1.

=example void *p; p = duk_push_dynamic_buffer(ctx, 1024); printf("allocated buffer, data area: %p\n", p); =tags stack buffer