Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
duktape-1.5.2/src-separate/duk_jmpbuf.h
Go to the documentation of this file.
1/*
2 * Wrapper for jmp_buf.
3 *
4 * This is used because jmp_buf is an array type for backward compatibility.
5 * Wrapping jmp_buf in a struct makes pointer references, sizeof, etc,
6 * behave more intuitively.
7 *
8 * http://en.wikipedia.org/wiki/Setjmp.h#Member_types
9 */
10
11#ifndef DUK_JMPBUF_H_INCLUDED
12#define DUK_JMPBUF_H_INCLUDED
13
14#if defined(DUK_USE_CPP_EXCEPTIONS)
15struct duk_jmpbuf {
16 duk_small_int_t dummy; /* unused */
17};
18#else
19struct duk_jmpbuf {
21};
22#endif
23
24#endif /* DUK_JMPBUF_H_INCLUDED */