1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00
elinks/src/js/mujs/element.h
2024-09-24 21:55:54 +02:00

25 lines
529 B
C

#ifndef EL__JS_MUJS_ELEMENT_H
#define EL__JS_MUJS_ELEMENT_H
#include <mujs.h>
#ifdef __cplusplus
extern "C" {
#endif
struct term_event;
void *mjs_getprivate(js_State *J, int idx);
void *mjs_getprivate_any(js_State *J, int idx);
int mjs_element_init(js_State *J);
void mjs_push_element(js_State *J, void *node);
void walk_tree(struct string *buf, void *nod, bool start, bool toSortAttrs);
void check_element_event(void *interp, void *elem, const char *event_name, struct term_event *ev);
#ifdef __cplusplus
}
#endif
#endif