]> git.sur5r.net Git - cc65/blobdiff - src/common/xmalloc.h
Added '_' prefix to sin and cos.
[cc65] / src / common / xmalloc.h
index 4a9597fadb495f8d4a4a40a07a8550bb16c76aac..eb196b6a14800732003286d8de1cd9e223c25d8e 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                xmalloc.h                                 */
+/*                                 xmalloc.h                                 */
 /*                                                                           */
-/*                      Memory allocation subroutines                       */
+/*                       Memory allocation subroutines                       */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000    Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 2000-2006 Ullrich von Bassewitz                                       */
+/*               Römerstraße 52                                              */
+/*               D-70794 Filderstadt                                         */
+/* EMail:        uz@cc65.org                                                 */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -43,7 +43,7 @@
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -54,17 +54,17 @@ void* xmalloc (size_t Size);
 void* xrealloc (void* P, size_t Size);
 /* Reallocate a memory block, check for out of memory */
 
-void xfree (const void* Block);
+void xfree (void* Block);
 /* Free the block, do some debugging */
 
 char* xstrdup (const char* S);
 /* Duplicate a string on the heap. The function checks for out of memory */
 
+void* xdup (const void* Buf, size_t Size);
+/* Create a copy of Buf on the heap and return a pointer to it. */
+
 
 
 /* End of xmalloc.h */
 
 #endif
-
-
-