2005-09-15 09:58:31 -04:00
|
|
|
/* Python module */
|
|
|
|
|
|
|
|
#ifdef HAVE_CONFIG_H
|
|
|
|
#include "config.h"
|
|
|
|
#endif
|
|
|
|
|
2022-01-29 06:21:13 -05:00
|
|
|
#include "scripting/python/pythoninc.h"
|
2005-09-15 09:58:31 -04:00
|
|
|
|
|
|
|
#include "elinks.h"
|
|
|
|
|
2021-08-08 15:25:08 -04:00
|
|
|
#include "intl/libintl.h"
|
2005-09-15 09:58:31 -04:00
|
|
|
#include "main/module.h"
|
2006-10-19 09:21:39 -04:00
|
|
|
#include "scripting/python/core.h"
|
2005-09-15 09:58:31 -04:00
|
|
|
#include "scripting/python/hooks.h"
|
|
|
|
|
|
|
|
|
|
|
|
struct module python_scripting_module = struct_module(
|
2007-03-21 06:01:06 -04:00
|
|
|
/* name: */ N_("Python"),
|
2005-09-15 09:58:31 -04:00
|
|
|
/* options: */ NULL,
|
|
|
|
/* hooks: */ python_scripting_hooks,
|
|
|
|
/* submodules: */ NULL,
|
|
|
|
/* data: */ NULL,
|
|
|
|
/* init: */ init_python,
|
|
|
|
/* done: */ cleanup_python
|
|
|
|
);
|