forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathctime.pxd
More file actions
22 lines (20 loc) · 622 Bytes
/
ctime.pxd
File metadata and controls
22 lines (20 loc) · 622 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) 2013 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
cdef extern from "time.h":
ctypedef struct time_t:
pass
ctypedef struct tm:
int tm_sec
int tm_min
int tm_hour
int tm_mday
int tm_mon
int tm_year
int tm_wday
int tm_yday
int tm_isdst
size_t strftime (char* ptr, size_t maxsize, const char* format_,
const tm* timeptr )
tm* localtime (const time_t* timer)
time_t mktime (tm* timeptr)