MIRROR: javascript for 馃悳's, a tiny runtime with big ambitions
1#ifndef ANT_GLOBALS_MODULE_H
2#define ANT_GLOBALS_MODULE_H
3
4#include "types.h"
5
6void init_globals_module(void);
7
8ant_value_t js_report_error(ant_t *js, ant_value_t *args, int nargs);
9bool js_fire_unhandled_rejection(ant_t *js, ant_value_t promise_val, ant_value_t reason);
10void js_fire_rejection_handled(ant_t *js, ant_value_t promise_val, ant_value_t reason);
11
12#endif