comparison object.h @ 37:d4efcbb06964

Added a new PYM_JSFunction type, PYM_JSContext.define_property(), and PYM_JSContext.new_function(). Also fixed a memory leak.
author Atul Varma <varmaa@toolness.com>
date Thu, 02 Jul 2009 22:42:31 -0700
parents 951ad1b15587
children bc4263c6ae82
comparison
equal deleted inserted replaced
36:04a6e9a67ae5 37:d4efcbb06964
16 } PYM_JSObject; 16 } PYM_JSObject;
17 17
18 extern PyTypeObject PYM_JSObjectType; 18 extern PyTypeObject PYM_JSObjectType;
19 19
20 extern PYM_JSObject * 20 extern PYM_JSObject *
21 PYM_newJSObject(PYM_JSContextObject *context, JSObject *obj); 21 PYM_newJSObject(PYM_JSContextObject *context, JSObject *obj,
22 PYM_JSObject *subclass);
22 23
23 #endif 24 #endif