Staging
v0.5.1
https://github.com/python/cpython
Revision cba9a0c6def70549046f1afa6a80e38fe706520e authored by Victor Stinner on 12 October 2017, 15:51:56 UTC, committed by GitHub on 12 October 2017, 15:51:56 UTC
time.clock() and time.perf_counter() now use again C double
internally.

Remove also _PyTime_GetWinPerfCounterWithInfo(): use
_PyTime_GetPerfCounterDoubleWithInfo() instead on Windows.
1 parent 0e61e67
Raw File
Tip revision: cba9a0c6def70549046f1afa6a80e38fe706520e authored by Victor Stinner on 12 October 2017, 15:51:56 UTC
bpo-31773: time.perf_counter() uses again double (GH-3964)
Tip revision: cba9a0c
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top