]> git.proxmox.com Git - mirror_edk2.git/blame - AppPkg/Applications/Python/Python-2.7.10/Python/getversion.c
EmbeddedPkg: Extend NvVarStoreFormattedLib LIBRARY_CLASS
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Python / getversion.c
CommitLineData
c8042e10
DM
1\r
2/* Return the full version string. */\r
3\r
4#include "Python.h"\r
5\r
6#include "patchlevel.h"\r
7\r
8const char *\r
9Py_GetVersion(void)\r
10{\r
11 static char version[250];\r
12 PyOS_snprintf(version, sizeof(version), "%.80s (%.80s) %.80s",\r
13 PY_VERSION, Py_GetBuildInfo(), Py_GetCompiler());\r
14 return version;\r
15}\r