ELinks 0.18.0
core.h File Reference
This graph shows which files directly or indirectly include this file:

Macros

#define PY_SSIZE_T_MAX   INT_MAX
 
#define PY_SSIZE_T_MIN   INT_MIN
 
#define PYTHON_DOCSTRING(str)   str
 

Typedefs

typedef int Py_ssize_t
 

Enumerations

enum  python_menu_type { PYTHON_MENU_DEFAULT , PYTHON_MENU_LINK , PYTHON_MENU_TAB , PYTHON_MENU_MAX }
 

Functions

void alert_python_error (void)
 
void init_python (struct module *module)
 
void cleanup_python (struct module *module)
 
int add_python_methods (PyObject *dict, PyObject *name, PyMethodDef *methods)
 

Variables

struct sessionpython_ses
 
PyObject * python_elinks_err
 

Macro Definition Documentation

◆ PY_SSIZE_T_MAX

#define PY_SSIZE_T_MAX   INT_MAX

◆ PY_SSIZE_T_MIN

#define PY_SSIZE_T_MIN   INT_MIN

◆ PYTHON_DOCSTRING

#define PYTHON_DOCSTRING ( str)    str

Typedef Documentation

◆ Py_ssize_t

typedef int Py_ssize_t

Enumeration Type Documentation

◆ python_menu_type

Enumerator
PYTHON_MENU_DEFAULT 
PYTHON_MENU_LINK 
PYTHON_MENU_TAB 
PYTHON_MENU_MAX 

Function Documentation

◆ add_python_methods()

int add_python_methods ( PyObject * dict,
PyObject * name,
PyMethodDef * methods )

◆ alert_python_error()

void alert_python_error ( void )

◆ cleanup_python()

void cleanup_python ( struct module * module)

◆ init_python()

void init_python ( struct module * module)

Variable Documentation

◆ python_elinks_err

PyObject* python_elinks_err
extern

◆ python_ses

struct session* python_ses
extern