Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84555 - trunk/libs/context/doc
From: oliver.kowalke_at_[hidden]
Date: 2013-05-30 11:19:22


Author: olli
Date: 2013-05-30 11:19:21 EDT (Thu, 30 May 2013)
New Revision: 84555
URL: http://svn.boost.org/trac/boost/changeset/84555

Log:
context: add hint for make_fcontext() in docu

Text files modified:
   trunk/libs/context/doc/fcontext.qbk | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/libs/context/doc/fcontext.qbk
==============================================================================
--- trunk/libs/context/doc/fcontext.qbk (original)
+++ trunk/libs/context/doc/fcontext.qbk 2013-05-30 11:19:21 EDT (Thu, 30 May 2013)
@@ -239,7 +239,8 @@
 
 [heading `fcontext_t * make_fcontext( void * sp, std::size_t size, void(*fn)(intptr_t))`]
 [variablelist
-[[Precondition:] [Stack `sp` function pointer `fn` are valid and `size` > 0.]]
+[[Precondition:] [Stack `sp` function pointer `fn` are valid (depending on the architecture
+`sp` points to the top or bottom of the stack) and `size` > 0.]]
 [[Effects:] [Creates an fcontext_t at the beginning of the stack and prepares the stack
 to execute the __context_fn__ `fn`.]]
 [[Returns:][Returns a pointer to fcontext_t which is placed on the stack.]]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk