You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2013/07/13 06:32:54 UTC

[3/3] git commit: doc: mark macros in TSDebug reference

doc: mark macros in TSDebug reference


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/7b7979c0
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/7b7979c0
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/7b7979c0

Branch: refs/heads/master
Commit: 7b7979c01043c8daedf41d0f2fd9abfa514d9b30
Parents: 60dbe3e
Author: James Peach <jp...@apache.org>
Authored: Fri Jul 12 21:32:02 2013 -0700
Committer: James Peach <jp...@apache.org>
Committed: Fri Jul 12 21:32:02 2013 -0700

----------------------------------------------------------------------
 doc/sdk/man/TSDebug.en.rst | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/7b7979c0/doc/sdk/man/TSDebug.en.rst
----------------------------------------------------------------------
diff --git a/doc/sdk/man/TSDebug.en.rst b/doc/sdk/man/TSDebug.en.rst
index a2ec097..6471fa5 100644
--- a/doc/sdk/man/TSDebug.en.rst
+++ b/doc/sdk/man/TSDebug.en.rst
@@ -36,8 +36,8 @@ Synopsis
 .. function:: void TSHttpSsnDebugSet(TSHttpSsn ssn, int on)
 .. function:: int TSHttpTxnDebugGet(TSHttpTxn txnp)
 .. function:: int TSHttpSsnDebugGet(TSHttpSsn ssn)
-.. function:: void TSAssert(expression)
-.. function:: void TSReleaseAssert(expression)
+.. macro:: void TSAssert(expression)
+.. macro:: void TSReleaseAssert(expression)
 
 Description
 ===========
@@ -53,10 +53,10 @@ output to the Traffic Server debug log.
 :func:`TSIsDebugTagSet` returns non-zero if the given debug tag is
 enabled.
 
-In debug mode, :func:`TSAssert` Traffic Server to prints the file
+In debug mode, :macro:`TSAssert` Traffic Server to prints the file
 name, line number and expression, and then aborts. In release mode,
 the expression is not removed but the effects of printing an error
-message and aborting are.  :func:`TSReleaseAssert` prints an error
+message and aborting are. :macro:`TSReleaseAssert` prints an error
 message and aborts in both release and debug mode.
 
 :func:`TSDebugSpecific` emits a debug line even if the debug tag
@@ -80,5 +80,4 @@ debugging flag is enabled::
 
 SEE ALSO
 ========
-:manpage:`TSAPI(3ts)`,
-:manpage:`printf(3)`
+:manpage:`TSAPI(3ts)`, :manpage:`printf(3)`