diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-19 12:16:49 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-19 12:16:49 (GMT) |
| commit | 88823cf6042e75b5756489ffdc13a5cbb6167bb1 (patch) | |
| tree | 32d411b0ce22cafe39e56321c5e0531f2b37e3b9 /includes/console.h | |
| parent | a94d249977614abe3dc94a31934ddf9cad989cd9 (diff) | |
| download | powder-88823cf6042e75b5756489ffdc13a5cbb6167bb1.zip powder-88823cf6042e75b5756489ffdc13a5cbb6167bb1.tar.gz | |
Reorganise a lot of Python console stuff
Diffstat (limited to 'includes/console.h')
| -rw-r--r-- | includes/console.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/includes/console.h b/includes/console.h index c1352f4..3b4a483 100644 --- a/includes/console.h +++ b/includes/console.h @@ -2,26 +2,14 @@ #define CONSOLE_H #include <defines.h> -#ifdef PYCONSOLE -#include "Python.h" -//#include "pystdlib.h" -#include <marshal.h> -#endif - -extern char pyready, pygood, console_more; +extern char console_more; extern char console_error[]; extern int file_script; -#ifdef PYCONSOLE -extern PyMethodDef EmbMethods[]; -#endif int console_parse_coords(char *txt, int *x, int *y, char *err); int console_parse_type(char *txt, int *element, char *err); int console_parse_partref(char *txt, int *which, char *err); -#ifdef PYCONSOLE -int process_command(pixel *vid_buf, char *console, char *console_error, PyObject *pfunc); -#endif int process_command_old(pixel *vid_buf, char *console, char *console_error); #endif |
