On Jul 12, 2004, at 7:54 PM, Delaney, Timothy C (Timothy) wrote: > Tim Peters wrote: > >> BTW, re-invented at least as often is a VISIT macro for use in >> tp_traverse slots, like typeobject.c's (and several other files') >> >> #define VISIT(SLOT) \ >> if (SLOT) { \ >> err = visit((PyObject *)(SLOT), arg); \ >> if (err) \ >> return err; \ >> } > > Shouldn't this also be wrapped in a do {} while (0)? I think it's obvious that this macro has not been made generic yet, given that err, visit, and arg aren't defined anywhere. -bob -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2357 bytes Desc: not available Url : http://mail.python.org/pipermail/python-dev/attachments/20040712/66f726dc/smime.bin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4