[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/pythonthings/cefpython/cefpython58/src/extern/ctime.pxd [Back]  [Original]

# 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)

Web Proxy Viewer  |  New URL  |  Original Page