forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_time.pxd
More file actions
27 lines (23 loc) · 712 Bytes
/
cef_time.pxd
File metadata and controls
27 lines (23 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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
from ctime cimport time_t
from libc.stdint cimport int64_t
cdef extern from "include/internal/cef_time.h":
ctypedef struct cef_time_t:
int year
int month
int day_of_week
int day_of_month
int hour
int minute
int second
int millisecond
ctypedef struct cef_basetime_t:
int64_t val
cdef extern from "include/internal/cef_types.h":
cdef cppclass CefTime:
CefTime()
CefTime(cef_time_t&)
void SetTimeT(time_t r)
time_t GetTimeT()