You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2005/10/05 06:18:22 UTC

svn commit: r294986 - /webservices/axis2/trunk/c/include/axis2.h

Author: damitha
Date: Tue Oct  4 21:18:12 2005
New Revision: 294986

URL: http://svn.apache.org/viewcvs?rev=294986&view=rev
Log:
memory handling macros added

Modified:
    webservices/axis2/trunk/c/include/axis2.h

Modified: webservices/axis2/trunk/c/include/axis2.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2.h?rev=294986&r1=294985&r2=294986&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2.h (original)
+++ webservices/axis2/trunk/c/include/axis2.h Tue Oct  4 21:18:12 2005
@@ -10,6 +10,11 @@
 #include <apr_pools.h>
 #include <apr_hash.h>
 
+/* Parametrized macro definitions for memory handling */
+#define MALLOC(s) (malloc((s)))
+#define REALLOC(p,s) (realloc((p),(s)))
+#define FREE(p) (free((p)))
+
 enum boolean_s {false, true};
 typedef enum boolean_s boolean_t;