Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shrapnel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
shrapnel
Commits
ed197863
Commit
ed197863
authored
Jan 31, 2013
by
Sam Rushing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
missing from cython's libc pxd tree
parent
81a164f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
pyrex/xlibc/time.pxd
pyrex/xlibc/time.pxd
+36
-0
No files found.
pyrex/xlibc/time.pxd
0 → 100644
View file @
ed197863
# -*- Mode: Cython -*-
cdef
extern
from
"time.h"
:
ctypedef
long
time_t
ctypedef
long
suseconds_t
cdef
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
char
*
tm_zone
long
tm_gmtoff
char
*
ctime
(
time_t
*
clock
)
tm
*
localtime
(
time_t
*
clock
)
tm
*
gmtime
(
time_t
*
clock
)
size_t
strftime
(
char
*
buf
,
size_t
maxsize
,
char
*
format
,
tm
*
timeptr
)
time_t
mktime
(
tm
*
)
cdef
extern
from
"sys/time.h"
:
cdef
struct
timeval
:
time_t
tv_sec
suseconds_t
tv_usec
cdef
struct
timezone
:
int
tz_minuteswest
int
dsttime
int
gettimeofday
(
timeval
*
tp
,
timezone
*
tzp
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment