diff options
Diffstat (limited to 'Include/structseq.h')
-rw-r--r-- | Include/structseq.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/structseq.h b/Include/structseq.h index e662916..a482bd8 100644 --- a/Include/structseq.h +++ b/Include/structseq.h @@ -35,6 +35,10 @@ typedef struct { #define PyStructSequence_SET_ITEM(op, i, v) \ (((PyStructSequence *)(op))->ob_item[i] = v) +#define PyStructSequence_GET_ITEM(op, i) \ + (((PyStructSequence *)(op))->ob_item[i]) + + #ifdef __cplusplus } #endif |