summaryrefslogtreecommitdiffstats
path: root/Modules/_time.h
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-06-16 22:38:15 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-06-16 22:38:15 (GMT)
commitd95a586d7760731c6c842a1bdfdbb572257bb8ed (patch)
tree252a1a2c0b5165ed85414163a6afa3a70bfb3c6c /Modules/_time.h
parent294f27141f170a09916341a8fcc49903b8e4359e (diff)
downloadcpython-d95a586d7760731c6c842a1bdfdbb572257bb8ed.zip
cpython-d95a586d7760731c6c842a1bdfdbb572257bb8ed.tar.gz
cpython-d95a586d7760731c6c842a1bdfdbb572257bb8ed.tar.bz2
Issue #9012: "Separate compilation of time and datetime modules."
Segregated code shared between time and datetime modules into Modules/_time.c. Added a new header file, Modules/_time.h, which will be used instead of Include/timefuncs.h for declarations shared between time and datetime modules.
Diffstat (limited to 'Modules/_time.h')
-rw-r--r--Modules/_time.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_time.h b/Modules/_time.h
new file mode 100644
index 0000000..816593b
--- /dev/null
+++ b/Modules/_time.h
@@ -0,0 +1,3 @@
+/* XXX: It is probably best to move timefuncs.h content in here, and
+ remove it but user code may rely on it. */
+#include "timefuncs.h"