git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffcc9b8
)
"verbose" is not static anymore.
author
kramm
<kramm>
Sat, 31 Jan 2004 20:06:27 +0000
(20:06 +0000)
committer
kramm
<kramm>
Sat, 31 Jan 2004 20:06:27 +0000
(20:06 +0000)
lib/python/pyutils.c
patch
|
blob
|
history
lib/python/pyutils.h
patch
|
blob
|
history
diff --git
a/lib/python/pyutils.c
b/lib/python/pyutils.c
index
2fdc0e1
..
5f7b7d4
100644
(file)
--- 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
(file)
--- 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);