1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[cache] Renamed cache.cpp -> cache.c

This commit is contained in:
Witold Filipczyk 2023-11-25 13:29:23 +01:00
parent d83c699243
commit fe8d8d6af0
7 changed files with 15 additions and 4 deletions

2
src/cache/Makefile vendored
View File

@ -1,6 +1,6 @@
top_builddir=../..
include $(top_builddir)/Makefile.config
OBJS = cache.obj dialogs.o
OBJS = cache.o dialogs.o
include $(top_srcdir)/Makefile.lib

View File

@ -1 +1 @@
srcs += files('cache.cpp', 'dialogs.c')
srcs += files('cache.c', 'dialogs.c')

View File

@ -17,6 +17,7 @@
#include "scripting/smjs/elinks_object.h"
#include "scripting/smjs/global_object.h"
#include "scripting/smjs/session_object.h"
#include "scripting/smjs/smjs.h"
#include "scripting/smjs/view_state_object.h"
#include "session/history.h"
#include "session/location.h"

View File

@ -1,6 +1,10 @@
#ifndef EL__SCRIPTING_SMJS_SMJS_H
#define EL__SCRIPTING_SMJS_SMJS_H
#ifdef __cplusplus
extern "C" {
#endif
struct module;
struct cache_entry;
struct session;
@ -21,4 +25,8 @@ void smjs_detach_terminal_object(struct terminal *term);
void smjs_detach_view_state_object(struct view_state *vs);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -12,6 +12,7 @@
#include "scripting/smjs/core.h"
#include "scripting/smjs/elinks_object.h"
#include "scripting/smjs/session_object.h"
#include "scripting/smjs/smjs.h"
#include "terminal/terminal.h"
#include "util/error.h"
#include "util/memory.h"

View File

@ -10,9 +10,10 @@
#include "ecmascript/spidermonkey-shared.h"
#include "protocol/uri.h"
#include "scripting/smjs/elinks_object.h"
#include "scripting/smjs/view_state_object.h"
#include "scripting/smjs/core.h"
#include "scripting/smjs/elinks_object.h"
#include "scripting/smjs/smjs.h"
#include "scripting/smjs/view_state_object.h"
#include "session/history.h"
#include "session/location.h"
#include "session/session.h"