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) · 594 Bytes
/
ctime.pxd
File metadata and controls
22 lines (20 loc) · 594 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) 2012-2014 The CEF Python authors. All rights reserved.
# License: New BSD License.
# Website: http://code.google.com/p/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)