Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Gwenaël Samain
cython
Commits
3abbe02b
Commit
3abbe02b
authored
Sep 26, 2014
by
Charles Blake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change URI to wikipedia; Remove cimport of unused types; Highlight strptime's non-C-standardness.
parent
7b83503e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Cython/Includes/libc/time.pxd
Cython/Includes/libc/time.pxd
+5
-3
No files found.
Cython/Includes/libc/time.pxd
View file @
3abbe02b
# http://
pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/time.h.html
# http://
en.wikipedia.org/wiki/C_date_and_time_functions
from
posix.types
cimport
clock_t
,
clockid_t
,
suseconds_t
,
time_t
,
timer
_t
from
posix.types
cimport
clock_t
,
time
_t
from
libc.stddef
cimport
wchar_t
cdef
extern
from
"time.h"
nogil
:
...
...
@@ -39,4 +39,6 @@ cdef extern from "time.h" nogil:
time_t
mktime
(
tm
*
)
size_t
strftime
(
char
*
,
size_t
,
const
char
*
,
const
tm
*
)
size_t
wcsftime
(
wchar_t
*
str
,
size_t
cnt
,
const
wchar_t
*
fmt
,
tm
*
time
)
char
*
strptime
(
const
char
*
,
const
char
*
,
tm
*
)
# POSIX not stdC
# POSIX not stdC
char
*
strptime
(
const
char
*
,
const
char
*
,
tm
*
)
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