[Python-Dev] Borrowed and Stolen References in API (original) (raw)
Amaury Forgeot d'Arc amauryfa at gmail.com
Fri May 6 10🔞32 CEST 2011
- Previous message: [Python-Dev] Borrowed and Stolen References in API
- Next message: [Python-Dev] Borrowed and Stolen References in API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le vendredi 6 mai 2011, Mark Shannon <marks at dcs.gla.ac.uk> a écrit :
What about #defining PYSTOLEN in some header?
Then any stolen parameter can be prefixed with PYSTOLEN in signature. For return values, similarly #define PYBORROWED.
Header files are harder to parse, and I don't see how it would apply to macros. What about additional tags in the .rst files?
-- Amaury
-- Amaury Forgeot d'Arc
- Previous message: [Python-Dev] Borrowed and Stolen References in API
- Next message: [Python-Dev] Borrowed and Stolen References in API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]