mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
It required that the 'context' session was saved in see_ses (similarly to the lua_ses variable) Anyway, now you can use var opt_value = navigator.preference("ui.window_title) navigator.preference("ui.window_title", false) navigator.savePreferences() to get and set optinos + save the changes.
21 lines
467 B
C
21 lines
467 B
C
|
|
#ifndef EL__SCRIPTING_SEE_CORE_H
|
|
#define EL__SCRIPTING_SEE_CORE_H
|
|
|
|
#include <see/see.h>
|
|
|
|
struct module;
|
|
struct session;
|
|
struct string;
|
|
|
|
extern struct SEE_interpreter see_interpreter;
|
|
extern struct session *see_ses;
|
|
|
|
struct string *convert_see_string(struct string *string, struct SEE_string *source);
|
|
void alert_see_error(struct session *ses, unsigned char *msg);
|
|
void see_report_error(struct session *ses, int state);
|
|
|
|
void init_see(struct module *module);
|
|
|
|
#endif
|