Move console_more declaration outside pythonconsole macro
This commit is contained in:
parent
7df042d023
commit
9c44767e44
@ -1202,6 +1202,7 @@ char my_uri[] = "http://" SERVER "/Update.api?Action=Download&Architecture="
|
|||||||
|
|
||||||
|
|
||||||
char console_error[255] = "";
|
char console_error[255] = "";
|
||||||
|
char console_more=0;
|
||||||
|
|
||||||
#ifdef PYCONSOLE
|
#ifdef PYCONSOLE
|
||||||
/*
|
/*
|
||||||
@ -1303,8 +1304,6 @@ static PyObject* emb_log(PyObject *self, PyObject *args)
|
|||||||
return Py_BuildValue("i",1);
|
return Py_BuildValue("i",1);
|
||||||
}
|
}
|
||||||
|
|
||||||
char console_more=0;
|
|
||||||
|
|
||||||
static PyObject* emb_console_more(PyObject *self, PyObject *args)
|
static PyObject* emb_console_more(PyObject *self, PyObject *args)
|
||||||
{
|
{
|
||||||
if(!PyArg_ParseTuple(args, ":log"))
|
if(!PyArg_ParseTuple(args, ":log"))
|
||||||
|
Loading…
Reference in New Issue
Block a user