Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "duk_internal.h"
Go to the source code of this file.
Functions | |
DUK_INTERNAL void | duk_hbuffer_resize (duk_hthread *thr, duk_hbuffer_dynamic *buf, duk_size_t new_size) |
DUK_INTERNAL void | duk_hbuffer_reset (duk_hthread *thr, duk_hbuffer_dynamic *buf) |
DUK_INTERNAL void duk_hbuffer_reset | ( | duk_hthread * | thr, |
duk_hbuffer_dynamic * | buf ) |
Definition at line 75 of file duktape-1.5.2/src-separate/duk_hbuffer_ops.c.
References DUK_ASSERT, DUK_HBUFFER_HAS_DYNAMIC, DUK_HBUFFER_HAS_EXTERNAL, duk_hbuffer_resize(), and NULL.
DUK_INTERNAL void duk_hbuffer_resize | ( | duk_hthread * | thr, |
duk_hbuffer_dynamic * | buf, | ||
duk_size_t | new_size ) |
Definition at line 18 of file duktape-1.5.2/src-separate/duk_hbuffer_ops.c.
References DUK_ASSERT, DUK_DDD, DUK_DDDPRINT, DUK_ERROR_ALLOC_DEFMSG, DUK_ERROR_RANGE, DUK_HBUFFER_DYNAMIC_GET_DATA_PTR, DUK_HBUFFER_DYNAMIC_GET_SIZE, DUK_HBUFFER_DYNAMIC_SET_DATA_PTR, DUK_HBUFFER_DYNAMIC_SET_SIZE, duk_hbuffer_get_dynalloc_ptr(), DUK_HBUFFER_HAS_DYNAMIC, DUK_HBUFFER_HAS_EXTERNAL, DUK_HBUFFER_MAX_BYTELEN, DUK_MEMZERO, DUK_REALLOC_INDIRECT, duk_hthread::heap, and NULL.
Referenced by duk_hbuffer_reset().