summaryrefslogtreecommitdiff
path: root/Include/structseq.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-10-16 18:27:39 +0000
committerMartin v. Löwis <martin@v.loewis.de>2002-10-16 18:27:39 +0000
commitf607bdaa77475ec8c94614414dc2cecf8fd1ca0a (patch)
tree16aa4184fa6266a4927896483282899efcbcced8 /Include/structseq.h
parent5b1614d568b94d32493249427ba86b4f272ae4e0 (diff)
downloadcpython-git-f607bdaa77475ec8c94614414dc2cecf8fd1ca0a.tar.gz
Add PyStructSequence_UnnamedField. Add stat_float_times.
Use integers in stat tuple, optionally floats in named fields.
Diffstat (limited to 'Include/structseq.h')
-rw-r--r--Include/structseq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/structseq.h b/Include/structseq.h
index 67cd947df3..ee6a04ec36 100644
--- a/Include/structseq.h
+++ b/Include/structseq.h
@@ -19,6 +19,8 @@ typedef struct PyStructSequence_Desc {
int n_in_sequence;
} PyStructSequence_Desc;
+extern char* PyStructSequence_UnnamedField;
+
PyAPI_FUNC(void) PyStructSequence_InitType(PyTypeObject *type,
PyStructSequence_Desc *desc);