ELinks 0.18.0
|
#include <stdio.h>
#include "elinks.h"
#include "document/libdom/corestrings.h"
#include "js/ecmascript.h"
#include "js/quickjs/mapa.h"
#include "js/quickjs.h"
#include "js/quickjs/attr.h"
#include "js/quickjs/attributes.h"
Macros | |
#define | countof(x) (sizeof(x) / sizeof((x)[0])) |
Functions | |
static void * | js_attributes_GetOpaque (JSValueConst this_val) |
static void | js_attributes_SetOpaque (JSValueConst this_val, void *node) |
static void | js_attributes_set_items (JSContext *ctx, JSValue this_val, void *node) |
static JSValue | js_attributes_get_property_length (JSContext *ctx, JSValueConst this_val) |
static JSValue | js_attributes_item2 (JSContext *ctx, JSValueConst this_val, int idx) |
static JSValue | js_attributes_item (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_attributes_namedItem2 (JSContext *ctx, JSValueConst this_val, const char *str) |
static JSValue | js_attributes_getNamedItem (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static JSValue | js_attributes_toString (JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) |
static void | js_attributes_finalizer (JSRuntime *rt, JSValue val) |
JSValue | getAttributes (JSContext *ctx, void *node) |
Variables | |
void * | map_attributes |
void * | map_rev_attributes |
JSClassID | js_attributes_class_id |
static const JSCFunctionListEntry | js_attributes_proto_funcs [] |
static JSClassDef | js_attributes_class |
#define countof | ( | x | ) | (sizeof(x) / sizeof((x)[0])) |
JSValue getAttributes | ( | JSContext * | ctx, |
void * | node ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
JSClassID js_attributes_class_id |
|
static |
void* map_attributes |
void* map_rev_attributes |