[svn-commits] russell: branch russell/iax_refcount r80338 - /team/russell/iax_refcount/main/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Aug 22 14:29:02 CDT 2007
Author: russell
Date: Wed Aug 22 14:29:01 2007
New Revision: 80338
URL: http://svn.digium.com/view/asterisk?view=rev&rev=80338
Log:
doxygen tweaks, change data_size to a size_t
Modified:
team/russell/iax_refcount/main/astobj2.c
Modified: team/russell/iax_refcount/main/astobj2.c
URL: http://svn.digium.com/view/asterisk/team/russell/iax_refcount/main/astobj2.c?view=diff&rev=80338&r1=80337&r2=80338
==============================================================================
--- team/russell/iax_refcount/main/astobj2.c (original)
+++ team/russell/iax_refcount/main/astobj2.c Wed Aug 22 14:29:01 2007
@@ -39,8 +39,11 @@
ast_mutex_t lock;
int ref_counter;
ao2_destructor_fn destructor_fn;
- int data_size; /* for stats */
- uint32_t magic; /* magic number */
+ /*! for stats */
+ size_t data_size;
+ /*! magic number. This is used to verify that a pointer passed in is a
+ * valid astobj2 */
+ uint32_t magic;
};
#define AO2_MAGIC 0xa570b123
More information about the svn-commits
mailing list