ELinks 0.18.0
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "elinks.h"
#include "js/ecmascript.h"
#include "js/quickjs.h"
#include "js/quickjs/console.h"
#include "main/main.h"
Macros | |
#define | DEBUG 0 |
#define | countof(x) (sizeof(x) / sizeof((x)[0])) |
Functions | |
static JSValue | js_console_assert (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_console_log_common (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv, const char *log_filename) |
static JSValue | js_console_log (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_console_error (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_console_warn (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_console_exit (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_console_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
int | js_console_init (JSContext *ctx) |
Variables | |
static JSClassID | js_console_class_id |
static int | assertions |
static int | failed_assertions |
static const JSCFunctionListEntry | js_console_funcs [] |
static JSClassDef | js_console_class |
#define countof | ( | x | ) | (sizeof(x) / sizeof((x)[0])) |
#define DEBUG 0 |
|
static |
|
static |
|
static |
int js_console_init | ( | JSContext * | ctx | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |