mirror of
https://github.com/rizinorg/jsdec.git
synced 2026-11-07 14:58:12 -10:00
18 lines
406 B
C
18 lines
406 B
C
// SPDX-FileCopyrightText: 2023 Giovanni Dante Grazioli <[email protected]>
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#ifndef JSDEC_H
|
|
#define JSDEC_H
|
|
|
|
#include <quickjs.h>
|
|
|
|
typedef struct jsdec_s jsdec_t;
|
|
|
|
void jsdec_free(jsdec_t *dec);
|
|
jsdec_t *jsdec_new();
|
|
JSContext *jsdec_context(const jsdec_t *dec);
|
|
int jsdec_run(const jsdec_t *dec);
|
|
void jsdec_handle_exception(JSContext *ctx);
|
|
|
|
#endif /* JSDEC_H */
|