OVMS3/OVMS.V3/components/duktape/src-input/duk_hbuffer_assert.c

14 lines
223 B
C
Raw Normal View History

/*
* duk_hbuffer assertion helpers
*/
#include "duk_internal.h"
#if defined(DUK_USE_ASSERTIONS)
DUK_INTERNAL void duk_hbuffer_assert_valid(duk_hbuffer *h) {
DUK_ASSERT(h != NULL);
}
#endif /* DUK_USE_ASSERTIONS */