Mercurial > pymonkey
comparison src/function.cpp @ 170:dd32a92f6b4f
Initial attempt at renaming pymonkey to pydermonkey.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Tue, 01 Sep 2009 03:07:24 -0700 |
parents | 56181fb5fc7e |
children | 5cfb47c9e916 |
comparison
equal
deleted
inserted
replaced
169:2b98d4643c44 | 170:dd32a92f6b4f |
---|---|
9 * Software distributed under the License is distributed on an "AS IS" basis, | 9 * Software distributed under the License is distributed on an "AS IS" basis, |
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License | 10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License |
11 * for the specific language governing rights and limitations under the | 11 * for the specific language governing rights and limitations under the |
12 * License. | 12 * License. |
13 * | 13 * |
14 * The Original Code is Pymonkey. | 14 * The Original Code is Pydermonkey. |
15 * | 15 * |
16 * The Initial Developer of the Original Code is Mozilla. | 16 * The Initial Developer of the Original Code is Mozilla. |
17 * Portions created by the Initial Developer are Copyright (C) 2007 | 17 * Portions created by the Initial Developer are Copyright (C) 2007 |
18 * the Initial Developer. All Rights Reserved. | 18 * the Initial Developer. All Rights Reserved. |
19 * | 19 * |
150 }; | 150 }; |
151 | 151 |
152 PyTypeObject PYM_JSFunctionType = { | 152 PyTypeObject PYM_JSFunctionType = { |
153 PyObject_HEAD_INIT(NULL) | 153 PyObject_HEAD_INIT(NULL) |
154 0, /*ob_size*/ | 154 0, /*ob_size*/ |
155 "pymonkey.Function", /*tp_name*/ | 155 "pydermonkey.Function", /*tp_name*/ |
156 sizeof(PYM_JSFunction), /*tp_basicsize*/ | 156 sizeof(PYM_JSFunction), /*tp_basicsize*/ |
157 0, /*tp_itemsize*/ | 157 0, /*tp_itemsize*/ |
158 /*tp_dealloc*/ | 158 /*tp_dealloc*/ |
159 (destructor) PYM_JSFunctionDealloc, | 159 (destructor) PYM_JSFunctionDealloc, |
160 0, /*tp_print*/ | 160 0, /*tp_print*/ |