projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e85b2
)
put the Python.h header in the .cc
author
Dana Jansens
<danakj@orodu.net>
Thu, 13 Feb 2003 23:44:47 +0000
(23:44 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 13 Feb 2003 23:44:47 +0000
(23:44 +0000)
src/python.cc
patch
|
blob
|
history
src/python.hh
patch
|
blob
|
history
diff --git
a/src/python.cc
b/src/python.cc
index 64398e38be5c7298029c568b4133e63e8bc6f91c..2db948c2505417612a71628011b1e1d31b9a5fa0 100644
(file)
--- a/
src/python.cc
+++ b/
src/python.cc
@@
-8,6
+8,10
@@
#include "otk/display.hh"
#include "otk/util.hh"
+extern "C" {
+#include <Python.h>
+}
+
namespace ob {
static PyObject *obdict = NULL;
diff --git
a/src/python.hh
b/src/python.hh
index 214586f528e418d8e32019f5e2b16cad934cac31..b6f8ae7cecb64dbdb309bb3fe0c85f8ef0535f3d 100644
(file)
--- a/
src/python.hh
+++ b/
src/python.hh
@@
-14,7
+14,6
@@
extern "C" {
#include <X11/Xlib.h>
-#include <Python.h>
}
#include <string>