Flipper Zero Firmware
Loading...
Searching...
No Matches
mjs_exec.h
1/*
2 * Copyright (c) 2016 Cesanta Software Limited
3 * All rights reserved
4 */
5
6#ifndef MJS_EXEC_H_
7#define MJS_EXEC_H_
8
9#include "mjs_exec_public.h"
10
11/*
12 * A special bcode offset value which causes mjs_execute() to exit immediately;
13 * used in mjs_apply().
14 */
15#define MJS_BCODE_OFFSET_EXIT ((size_t)0x7fffffff)
16
17#if defined(__cplusplus)
18extern "C" {
19#endif /* __cplusplus */
20
21MJS_PRIVATE mjs_err_t mjs_execute(struct mjs* mjs, size_t off, mjs_val_t* res);
22
23#if defined(__cplusplus)
24}
25#endif /* __cplusplus */
26
27#endif /* MJS_EXEC_H_ */
Definition mjs_core.h:63