Initial import
This commit is contained in:
13
third_party/duktape/duk_hbuffer_assert.c
vendored
Normal file
13
third_party/duktape/duk_hbuffer_assert.c
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* duk_hbuffer assertion helpers
|
||||
*/
|
||||
|
||||
#include "third_party/duktape/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 */
|
||||
Reference in New Issue
Block a user