mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04: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
|
#ifndef EL__ECMASCRIPT_ECMASCRIPT_C_H
|
||||||
#define EL__ECMASCRIPT_ECMASCRIPT_C_H
|
#define EL__ECMASCRIPT_ECMASCRIPT_C_H
|
||||||
|
|
||||||
|
#include "main/module.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@ -10,6 +12,8 @@ struct session;
|
|||||||
int ecmascript_get_interpreter_count(void);
|
int ecmascript_get_interpreter_count(void);
|
||||||
void toggle_ecmascript(struct session *ses);
|
void toggle_ecmascript(struct session *ses);
|
||||||
|
|
||||||
|
extern struct module ecmascript_module;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -205,8 +205,6 @@ extern char *console_log_filename;
|
|||||||
extern char *local_storage_filename;
|
extern char *local_storage_filename;
|
||||||
extern int local_storage_ready;
|
extern int local_storage_ready;
|
||||||
|
|
||||||
extern struct module ecmascript_module;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -3,6 +3,6 @@ include $(top_builddir)/Makefile.config
|
|||||||
|
|
||||||
OBJS-$(CONFIG_INTERLINK) += interlink.o
|
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
|
include $(top_srcdir)/Makefile.lib
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
if conf_data.get('CONFIG_INTERLINK')
|
if conf_data.get('CONFIG_INTERLINK')
|
||||||
srcs += files('interlink.c')
|
srcs += files('interlink.c')
|
||||||
endif
|
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 "dialogs/exmode.h"
|
||||||
#include "document/css/css.h"
|
#include "document/css/css.h"
|
||||||
#include "document/document.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 "formhist/formhist.h"
|
||||||
#include "globhist/globhist.h"
|
#include "globhist/globhist.h"
|
||||||
#ifdef CONFIG_NLS
|
#ifdef CONFIG_NLS
|
Loading…
x
Reference in New Issue
Block a user