Initial import

This commit is contained in:
Justine Tunney
2020-06-15 07:18:57 -07:00
commit c91b3c5006
14915 changed files with 590219 additions and 0 deletions

24
third_party/duktape/duk_jmpbuf.h vendored Normal file
View File

@@ -0,0 +1,24 @@
/*
* Wrapper for jmp_buf.
*
* This is used because jmp_buf is an array type for backward compatibility.
* Wrapping jmp_buf in a struct makes pointer references, sizeof, etc,
* behave more intuitively.
*
* http://en.wikipedia.org/wiki/Setjmp.h#Member_types
*/
#if !defined(DUK_JMPBUF_H_INCLUDED)
#define DUK_JMPBUF_H_INCLUDED
#if defined(DUK_USE_CPP_EXCEPTIONS)
struct duk_jmpbuf {
duk_small_int_t dummy; /* unused */
};
#else
struct duk_jmpbuf {
DUK_JMPBUF_TYPE jb;
};
#endif
#endif /* DUK_JMPBUF_H_INCLUDED */