]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/marshal.c
AppPkg/.../Python-2.7.10: AppPkg.dsc, pyconfig.h, PyMod-2.7.10
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / PyMod-2.7.10 / Python / marshal.c
index 290be0db8e0801d2a23396657e7f9782e2b37c2d..3890d131e8fab6fc5ba3d4c29345609199bcb1a9 100644 (file)
@@ -1,8 +1,18 @@
-\r
-/* Write Python objects to files and read them back.\r
-   This is intended for writing and reading compiled Python code only;\r
-   a true persistent storage facility would be much harder, since\r
-   it would have to take circular links and sharing into account. */\r
+/** @file\r
+  Write Python objects to files and read them back.\r
+  This is intended for writing and reading compiled Python code only;\r
+  a true persistent storage facility would be much harder, since\r
+  it would have to take circular links and sharing into account.\r
+\r
+  Copyright (c) 2015, Daryl McDaniel. All rights reserved.<BR>\r
+  This program and the accompanying materials are licensed and made available under\r
+  the terms and conditions of the BSD License that accompanies this distribution.\r
+  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+**/\r
 \r
 #define PY_SSIZE_T_CLEAN\r
 \r
@@ -11,6 +21,7 @@
 #include "code.h"\r
 #include "marshal.h"\r
 \r
+#undef ABS\r
 #define ABS(x) ((x) < 0 ? -(x) : (x))\r
 \r
 /* High water mark to determine when the marshalled object is dangerously deep\r