aboutsummaryrefslogtreecommitdiffstats
path: root/src/e_ferite.h
blob: 1b371b4b061c4430cb1ec6b565ca0664c991e3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef E_FERITE_H
#define E_FERITE_H

#ifdef USE_FERITE

#include <ferite.h>

#else

#define FeriteScript void
#define FeriteNamespace void
#define FeriteVariable void
#define FeriteFunction void
#define FeriteObject void
#define FeriteNamespaceBucket void

#endif

void e_ferite_init(void);
void e_ferite_deinit(void);
void e_ferite_run( char *script );
void e_ferite_register( FeriteScript *script, FeriteNamespace *ns );
int  e_ferite_script_error( FeriteScript *script, char *errmsg, int val );
int  e_ferite_script_warning( FeriteScript *script, char *warnmsg );

#endif /* E_FERITE_H */