mirror of
https://github.com/bellard/quickjs.git
synced 2026-06-03 13:32:09 +00:00
25 lines
595 B
C
25 lines
595 B
C
#ifndef JS_DISPOSABLE_H
|
|
#define JS_DISPOSABLE_H
|
|
|
|
#include "quickjs.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
JSValue JS_NewSuppressedError(JSContext *ctx, JSValueConst error, JSValueConst suppressed);
|
|
JSValue JS_GetSuppressedErrorError(JSContext *ctx, JSValueConst obj);
|
|
JSValue JS_GetSuppressedErrorSuppressed(JSContext *ctx, JSValueConst obj);
|
|
|
|
JSAtom JS_AtomSymbolDispose(JSContext *ctx);
|
|
JSAtom JS_AtomSymbolAsyncDispose(JSContext *ctx);
|
|
|
|
int JS_CallDispose(JSContext *ctx, JSValueConst obj);
|
|
int JS_CallAsyncDispose(JSContext *ctx, JSValueConst obj);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|