diff src/runtime.h @ 129:7b7a23615873

Added weakref support for runtimes.
author Atul Varma <varmaa@toolness.com>
date Sun, 23 Aug 2009 17:52:47 -0700
parents ac8ca0ee7760
children 657afb7307eb
line wrap: on
line diff
--- a/src/runtime.h	Sun Aug 23 17:39:28 2009 -0700
+++ b/src/runtime.h	Sun Aug 23 17:52:47 2009 -0700
@@ -60,6 +60,7 @@
   JSContext *cx;
   JSDHashTable objects;
   long thread;
+  JSObject *weakrefs;
 } PYM_JSRuntimeObject;
 
 extern PyTypeObject PYM_JSRuntimeType;