Mercurial > pymonkey
comparison src/context.cpp @ 131:f956a6dea16c
Minor housekeeping: replaced tabs w/ spaces, got rid of outdated TODOs, etc.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Sun, 23 Aug 2009 18:04:21 -0700 |
parents | 1e4d4d475e75 |
children | 537cf7deadc9 |
comparison
equal
deleted
inserted
replaced
130:4705522c7431 | 131:f956a6dea16c |
---|---|
507 PyObject_HEAD_INIT(NULL) | 507 PyObject_HEAD_INIT(NULL) |
508 0, /*ob_size*/ | 508 0, /*ob_size*/ |
509 "pymonkey.Context", /*tp_name*/ | 509 "pymonkey.Context", /*tp_name*/ |
510 sizeof(PYM_JSContextObject), /*tp_basicsize*/ | 510 sizeof(PYM_JSContextObject), /*tp_basicsize*/ |
511 0, /*tp_itemsize*/ | 511 0, /*tp_itemsize*/ |
512 /*tp_dealloc*/ | 512 /*tp_dealloc*/ |
513 (destructor) PYM_JSContextDealloc, | 513 (destructor) PYM_JSContextDealloc, |
514 0, /*tp_print*/ | 514 0, /*tp_print*/ |
515 0, /*tp_getattr*/ | 515 0, /*tp_getattr*/ |
516 0, /*tp_setattr*/ | 516 0, /*tp_setattr*/ |
517 0, /*tp_compare*/ | 517 0, /*tp_compare*/ |
523 0, /*tp_call*/ | 523 0, /*tp_call*/ |
524 0, /*tp_str*/ | 524 0, /*tp_str*/ |
525 0, /*tp_getattro*/ | 525 0, /*tp_getattro*/ |
526 0, /*tp_setattro*/ | 526 0, /*tp_setattro*/ |
527 0, /*tp_as_buffer*/ | 527 0, /*tp_as_buffer*/ |
528 /*tp_flags*/ | 528 /*tp_flags*/ |
529 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_HAVE_WEAKREFS, | 529 Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_HAVE_WEAKREFS, |
530 /* tp_doc */ | 530 /* tp_doc */ |
531 "JavaScript Context.", | 531 "JavaScript Context.", |
532 (traverseproc) PYM_traverse, /* tp_traverse */ | 532 (traverseproc) PYM_traverse, /* tp_traverse */ |
533 (inquiry) PYM_clear, /* tp_clear */ | 533 (inquiry) PYM_clear, /* tp_clear */ |
534 0, /* tp_richcompare */ | 534 0, /* tp_richcompare */ |
535 /* tp_weaklistoffset */ | 535 /* tp_weaklistoffset */ |
536 offsetof(PYM_JSContextObject, weakrefs), | 536 offsetof(PYM_JSContextObject, weakrefs), |
537 0, /* tp_iter */ | 537 0, /* tp_iter */ |
538 0, /* tp_iternext */ | 538 0, /* tp_iternext */ |
539 PYM_JSContextMethods, /* tp_methods */ | 539 PYM_JSContextMethods, /* tp_methods */ |
540 0, /* tp_members */ | 540 0, /* tp_members */ |
541 0, /* tp_getset */ | 541 0, /* tp_getset */ |
542 0, /* tp_base */ | 542 0, /* tp_base */ |
543 0, /* tp_dict */ | 543 0, /* tp_dict */ |