mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[main] module.cpp -> module.c
This commit is contained in:
parent
29832783cb
commit
f70c1dc51b
@ -1,6 +1,8 @@
|
||||
#ifndef EL__ECMASCRIPT_ECMASCRIPT_C_H
|
||||
#define EL__ECMASCRIPT_ECMASCRIPT_C_H
|
||||
|
||||
#include "main/module.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@ -10,6 +12,8 @@ struct session;
|
||||
int ecmascript_get_interpreter_count(void);
|
||||
void toggle_ecmascript(struct session *ses);
|
||||
|
||||
extern struct module ecmascript_module;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -205,8 +205,6 @@ extern char *console_log_filename;
|
||||
extern char *local_storage_filename;
|
||||
extern int local_storage_ready;
|
||||
|
||||
extern struct module ecmascript_module;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -3,6 +3,6 @@ include $(top_builddir)/Makefile.config
|
||||
|
||||
OBJS-$(CONFIG_INTERLINK) += interlink.o
|
||||
|
||||
OBJS = event.o main.o module.obj select.o timer.obj version.o
|
||||
OBJS = event.o main.o module.o select.o timer.obj version.o
|
||||
|
||||
include $(top_srcdir)/Makefile.lib
|
||||
|
@ -1,4 +1,4 @@
|
||||
if conf_data.get('CONFIG_INTERLINK')
|
||||
srcs += files('interlink.c')
|
||||
endif
|
||||
srcs += files('event.c', 'main.c', 'module.cpp', 'select.c', 'timer.cpp', 'version.c')
|
||||
srcs += files('event.c', 'main.c', 'module.c', 'select.c', 'timer.cpp', 'version.c')
|
||||
|
@ -21,7 +21,9 @@
|
||||
#include "dialogs/exmode.h"
|
||||
#include "document/css/css.h"
|
||||
#include "document/document.h"
|
||||
#include "ecmascript/ecmascript.h"
|
||||
#if defined(CONFIG_ECMASCRIPT_SMJS) || defined(CONFIG_MUJS) || defined(CONFIG_QUICKJS)
|
||||
#include "ecmascript/ecmascript-c.h"
|
||||
#endif
|
||||
#include "formhist/formhist.h"
|
||||
#include "globhist/globhist.h"
|
||||
#ifdef CONFIG_NLS
|
Loading…
Reference in New Issue
Block a user