Mercurial > pymonkey
diff context.c @ 40:8a7abd0bb48d
Renamed PYM_newJSFunction() to PYM_newJSFunctionFromCallable(). PYM_newJSObject() now returns objects of type PYM_JSFunctionType as needed.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Fri, 03 Jul 2009 20:04:01 -0700 |
parents | 6cd870a2b81e |
children | 71ab5e977dd3 |
line wrap: on
line diff
--- a/context.c Fri Jul 03 19:40:42 2009 -0700 +++ b/context.c Fri Jul 03 20:04:01 2009 -0700 @@ -159,7 +159,7 @@ if (!PyArg_ParseTuple(args, "Os", &callable, &name)) return NULL; - return (PyObject *) PYM_newJSFunction(self, callable, name); + return (PyObject *) PYM_newJSFunctionFromCallable(self, callable, name); } static PyMethodDef PYM_JSContextMethods[] = {