summaryrefslogtreecommitdiff
path: root/src/session.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-02 15:54:28 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-02 15:54:28 -0400
commitc1cb06e00922ba5c15c128bab05c71220077fdce (patch)
treedb00cc04a338c33c540c3be98c53742a1e2902ca /src/session.h
parentbd9ffed9db00e31e4ad526f4558d0d2929c8ac39 (diff)
downloadfork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.tar.gz
fork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.tar.bz2
fork-ledger-c1cb06e00922ba5c15c128bab05c71220077fdce.zip
Updated some internal documentation.
Diffstat (limited to 'src/session.h')
-rw-r--r--src/session.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/session.h b/src/session.h
index 3723369d..d7023045 100644
--- a/src/session.h
+++ b/src/session.h
@@ -264,15 +264,14 @@ See LICENSE file included with the distribution for details and disclaimer.\n";
};
/**
- * This sets the current session context, transferring all static
- * globals to point at the data structures related to this session.
- * Although Ledger itself is not thread-safe, by locking, switching
- * session context, then unlocking after the operation is done,
- * multiple threads can sequentially make use of the library. Thus, a
- * session_t maintains all of the information relating to a single
- * usage of the Ledger library.
+ * Set the current session context, transferring all static globals to point
+ * at the data structures related to this session. Although Ledger itself is
+ * not thread-safe, by locking, switching session context, then unlocking
+ * after an operation is done, multiple threads can sequentially make use of
+ * the library. Thus, a session_t maintains all of the information relating
+ * to a single usage of the Ledger library.
*/
-void set_session_context(session_t * session = NULL);
+void set_session_context(session_t * session);
} // namespace ledger