mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
SpiderMonkey was updated to mozjs24. If you want to build elinks with ecmascript support, you must compile using g++ with -fpermissive . There is a lot of warnings. There are some memleaks in ecmascript code, especially related to JSAutoCompartment. I don't know yet, where and how to free it. Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
32 lines
538 B
C
32 lines
538 B
C
#ifndef EL__SESSION_LOCATION_H
|
|
#define EL__SESSION_LOCATION_H
|
|
|
|
#include "session/download.h"
|
|
#include "util/lists.h"
|
|
#include "viewer/text/vs.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct location {
|
|
LIST_HEAD(struct location);
|
|
|
|
LIST_OF(struct frame) frames;
|
|
struct download download;
|
|
struct view_state vs;
|
|
};
|
|
|
|
|
|
void copy_location(struct location *, struct location *);
|
|
|
|
/** You probably want to call del_from_history() first!
|
|
* @relates location */
|
|
void destroy_location(struct location *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|