]> granicus.if.org Git - python/commit
_PyObject_GetDictPtr():
authorTim Peters <tim.peters@gmail.com>
Sat, 6 Oct 2001 17:45:17 +0000 (17:45 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 6 Oct 2001 17:45:17 +0000 (17:45 +0000)
commit7254e5a3edd85563d333ba5aa2978d7cd7daa96a
treee1baf68ff877e117ef2ee5233ac838ba4837db10
parent8c18f2585032a01b04a99b1acd31a71c7e46f8cb
_PyObject_GetDictPtr():
+ Use the _PyObject_VAR_SIZE macro to compute object size.
+ Break the computation into lines convenient for debugger inspection.
+ Speed the round-up-to-pointer-size computation.
Objects/object.c