Mercurial > pymonkey
changeset 98:3baa418b7ba8
Changed includes from Python/Python.h to just Python.h.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sat, 15 Aug 2009 10:49:25 -0700 |
parents | 409cff0c7afb |
children | e4f7cc6beafe |
files | context.h function.h object.h runtime.h undefined.h utils.h |
diffstat | 6 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/context.h Sat Aug 15 10:41:24 2009 -0700 +++ b/context.h Sat Aug 15 10:49:25 2009 -0700 @@ -40,7 +40,7 @@ #include "runtime.h" #include <jsapi.h> -#include <Python/Python.h> +#include <Python.h> typedef struct { PyObject_HEAD
--- a/function.h Sat Aug 15 10:41:24 2009 -0700 +++ b/function.h Sat Aug 15 10:49:25 2009 -0700 @@ -41,7 +41,7 @@ #include "context.h" #include <jsapi.h> -#include <Python/Python.h> +#include <Python.h> typedef struct { PYM_JSObject base;
--- a/object.h Sat Aug 15 10:41:24 2009 -0700 +++ b/object.h Sat Aug 15 10:49:25 2009 -0700 @@ -40,7 +40,7 @@ #include "context.h" #include <jsapi.h> -#include <Python/Python.h> +#include <Python.h> extern JSObject * PYM_JS_newObject(JSContext *cx, PyObject *pyObject);
--- a/runtime.h Sat Aug 15 10:41:24 2009 -0700 +++ b/runtime.h Sat Aug 15 10:49:25 2009 -0700 @@ -39,8 +39,8 @@ #include <jsapi.h> #include <jsdhash.h> -#include <Python/Python.h> -#include <Python/pythread.h> +#include <Python.h> +#include <pythread.h> #define PYM_SANITY_CHECK(runtime) \ if (PyThread_get_thread_ident() != runtime->thread) { \
--- a/undefined.h Sat Aug 15 10:41:24 2009 -0700 +++ b/undefined.h Sat Aug 15 10:49:25 2009 -0700 @@ -37,7 +37,7 @@ #ifndef PYM_UNDEFINED_H #define PYM_UNDEFINED_H -#include <Python/Python.h> +#include <Python.h> #define Py_RETURN_UNDEFINED { Py_INCREF(PYM_undefined); \ return (PyObject *) PYM_undefined; }