Flipper Developer Docs
Toggle main menu visibility
Main Page
Related Pages
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Files
File List
Globals
All
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
v
w
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
g
i
m
n
p
r
s
t
v
Enumerations
a
b
c
d
e
f
g
i
n
o
p
r
s
v
Enumerator
c
e
f
g
i
n
o
r
s
v
Macros
_
d
e
f
r
v
w
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
mjs_exec_public.h
1
/*
2
* Copyright (c) 2016 Cesanta Software Limited
3
* All rights reserved
4
*/
5
6
#ifndef MJS_EXEC_PUBLIC_H_
7
#define MJS_EXEC_PUBLIC_H_
8
9
#include "mjs_core_public.h"
10
#include <stdio.h>
11
12
#if defined(__cplusplus)
13
extern
"C"
{
14
#endif
/* __cplusplus */
15
16
mjs_err_t mjs_exec(
struct
mjs
*,
const
char
* src, mjs_val_t* res);
17
18
mjs_err_t mjs_exec_file(
struct
mjs
*
mjs
,
const
char
* path, mjs_val_t* res);
19
mjs_err_t mjs_apply(
20
struct
mjs
*
mjs
,
21
mjs_val_t* res,
22
mjs_val_t func,
23
mjs_val_t this_val,
24
int
nargs,
25
mjs_val_t* args);
26
mjs_err_t
27
mjs_call(
struct
mjs
*
mjs
, mjs_val_t* res, mjs_val_t func, mjs_val_t this_val,
int
nargs, ...);
28
mjs_val_t mjs_get_this(
struct
mjs
*
mjs
);
29
30
#if defined(__cplusplus)
31
}
32
#endif
/* __cplusplus */
33
34
#endif
/* MJS_EXEC_PUBLIC_H_ */
mjs
Definition
mjs_core.h:63
lib
mjs
mjs_exec_public.h
Generated by
1.12.0