mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
692 B
19 lines
692 B
define: DUK_USE_SETJMP
|
|
feature_enables: DUK_OPT_SETJMP
|
|
feature_no_default: true # provided by platform unless forced
|
|
introduced: 1.1.0
|
|
removed: 1.5.0
|
|
default: true
|
|
tags:
|
|
- portability
|
|
description: >
|
|
Use setjmp/longjmp for long control transfers. This is the most portable
|
|
option for long control transfers.
|
|
|
|
The downside of setjmp/longjmp is that signal mask saving behavior is not
|
|
specified and varies between platforms. Signal mask saving may have a
|
|
significant performance impact so you may want to force a specific provider
|
|
if performance matters for your application. (This is the case for OSX,
|
|
for instance.)
|
|
|
|
Removed in Duktape 1.5.0: edit duk_config.h directly.
|
|
|