Initial experiment in adding js support to w3m.
This commit is contained in:
11
fm.h
11
fm.h
@@ -519,8 +519,19 @@ typedef struct _Buffer {
|
||||
#ifdef USE_ALARM
|
||||
struct _AlarmEvent *event;
|
||||
#endif
|
||||
#ifdef USE_JAVASCRIPT
|
||||
struct BufferJSState *js_state;
|
||||
struct W3MDocument *js_document;
|
||||
struct W3MEventSystem *js_events;
|
||||
#endif
|
||||
} Buffer;
|
||||
|
||||
#ifdef USE_JAVASCRIPT
|
||||
#include "js/w3m_javascript.h"
|
||||
#include "js/w3m_dom.h"
|
||||
#include "js/w3m_events.h"
|
||||
#endif
|
||||
|
||||
typedef struct _BufferPos {
|
||||
long top_linenumber;
|
||||
long cur_linenumber;
|
||||
|
||||
Reference in New Issue
Block a user