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

14 lines
224 B
C
Raw Normal View History

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