blob: a7efcedc59a21719166de7f4d5bbe840e7ae8810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef __USCRIPT_LANG_H__
#define __USCRIPT_LANG_H__
struct us_func;
typedef void (*us_cfunc_sig)(int argc);
void us_init(void);
void us_deinit(void);
void us_load_file(const char *file);
void us_load_src(const char *src);
void us_exec(struct us_func *func);
void us_set_cfunc(const char *c_name, us_cfunc_sig c, int argc);
#endif // __USCRIPT_LANG_H__
|