[asterisk-commits] tilghman: branch 1.6.0 r146929 - in /branches/1.6.0: ./ include/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 6 18:22:19 CDT 2008


Author: tilghman
Date: Mon Oct  6 18:22:19 2008
New Revision: 146929

URL: http://svn.digium.com/view/asterisk?view=rev&rev=146929
Log:
Merged revisions 146928 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r146928 | tilghman | 2008-10-06 18:21:02 -0500 (Mon, 06 Oct 2008) | 3 lines
  
  Update documentation; AST_THREADSTORAGE() in trunk only takes a single
  argument.
........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/include/asterisk/threadstorage.h

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/include/asterisk/threadstorage.h
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/include/asterisk/threadstorage.h?view=diff&rev=146929&r1=146928&r2=146929
==============================================================================
--- branches/1.6.0/include/asterisk/threadstorage.h (original)
+++ branches/1.6.0/include/asterisk/threadstorage.h Mon Oct  6 18:22:19 2008
@@ -139,8 +139,7 @@
  *
  * \arg ts This is a pointer to the thread storage structure declared by using
  *      the AST_THREADSTORAGE macro.  If declared with 
- *      AST_THREADSTORAGE(my_buf, my_buf_init), then this argument would be 
- *      (&my_buf).
+ *      AST_THREADSTORAGE(my_buf), then this argument would be (&my_buf).
  * \arg init_size This is the amount of space to be allocated the first time
  *      this thread requests its data. Thus, this should be the size that the
  *      code accessing this thread storage is assuming the size to be.
@@ -151,7 +150,7 @@
  *
  * Example usage:
  * \code
- * AST_THREADSTORAGE(my_buf, my_buf_init);
+ * AST_THREADSTORAGE(my_buf);
  * #define MY_BUF_SIZE   128
  * ...
  * void my_func(const char *fmt, ...)




More information about the asterisk-commits mailing list