From: kramm Date: Sat, 31 Jan 2004 20:06:27 +0000 (+0000) Subject: "verbose" is not static anymore. X-Git-Tag: release-0-5-0~87 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=8f330021bf895713bb140a8530960f3bdefa9116 "verbose" is not static anymore. --- diff --git a/lib/python/pyutils.c b/lib/python/pyutils.c index 2fdc0e1..5f7b7d4 100644 --- a/lib/python/pyutils.c +++ b/lib/python/pyutils.c @@ -20,7 +20,7 @@ char* setError(char*format, ...) return strdup(buf); } -static int verbose = 1; +int verbose = 1; void mylog(char*format, ...) { char buf[1024]; diff --git a/lib/python/pyutils.h b/lib/python/pyutils.h index 3c749bd..967cedb 100644 --- a/lib/python/pyutils.h +++ b/lib/python/pyutils.h @@ -4,6 +4,8 @@ #define PY_NONE Py_BuildValue("s", 0) +extern int verbose; + char* setError(char*format, ...); void mylog(char*format, ...); PyObject* FindMethodMore(PyObject*ret, PyMethodDef f[], PyObject*self, char* a);