diff utils.h @ 21:fc04e5f1c675

Changed object constructor to take a context instead of a runtime.
author Atul Varma <varmaa@toolness.com>
date Sun, 28 Jun 2009 20:40:18 -0700
parents abede8af8cf5
children 951ad1b15587
line wrap: on
line diff
--- a/utils.h	Sun Jun 28 20:19:39 2009 -0700
+++ b/utils.h	Sun Jun 28 20:40:18 2009 -0700
@@ -1,7 +1,7 @@
 #ifndef PYM_UTILS_H
 #define PYM_UTILS_H
 
-#include "runtime.h"
+#include "context.h"
 
 #include <jsapi.h>
 #include <Python/Python.h>
@@ -9,6 +9,6 @@
 extern PyObject *PYM_error;
 
 extern PyObject *
-PYM_jsvalToPyObject(PYM_JSRuntimeObject *runtime, jsval value);
+PYM_jsvalToPyObject(PYM_JSContextObject *context, jsval value);
 
 #endif