Mercurial > pymonkey
comparison context.h @ 64:fb7e11dec538
Added context.set_operation_callback() and trigger_operation_callback() methods.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 26 Jul 2009 12:43:31 -0700 |
parents | bc4263c6ae82 |
children | 3baa418b7ba8 |
comparison
equal
deleted
inserted
replaced
63:f3ecf06a2851 | 64:fb7e11dec538 |
---|---|
44 | 44 |
45 typedef struct { | 45 typedef struct { |
46 PyObject_HEAD | 46 PyObject_HEAD |
47 PYM_JSRuntimeObject *runtime; | 47 PYM_JSRuntimeObject *runtime; |
48 JSContext *cx; | 48 JSContext *cx; |
49 PyObject *opCallback; | |
49 } PYM_JSContextObject; | 50 } PYM_JSContextObject; |
50 | 51 |
51 extern PyTypeObject PYM_JSContextType; | 52 extern PyTypeObject PYM_JSContextType; |
52 | 53 |
53 extern PYM_JSContextObject * | 54 extern PYM_JSContextObject * |