From 3e9d7fa3bdd6e76ecf05edac960887af95b0cc0f Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Wed, 8 Aug 2018 22:11:54 +0200 Subject: [PATCH] Grammar fix (?). --- manual/tracy.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/tracy.tex b/manual/tracy.tex index f1ba4d80..7266d63e 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -195,7 +195,7 @@ With the aforementioned steps you will be able to connect to the profiled progra \subsection{Handling text strings} -When dealing with Tracy macros, you will encounter two ways of providing string data for the profiler. In both cases you should pass \texttt{const char*} pointers, but there are differences in expected life-time of the pointed data. +When dealing with Tracy macros, you will encounter two ways of providing string data to the profiler. In both cases you should pass \texttt{const char*} pointers, but there are differences in expected life-time of the pointed data. \begin{enumerate} \item When a macro only accepts a pointer (for example: \texttt{TracyMessageL(text)}), the provided string data must be accessible at any time in program execution (\emph{this also includes the time after exiting the \texttt{main} function}). The string also cannot be changed. This basically means that the only option is to use a string literal (e.g.: \texttt{TracyMessageL("Hello")}).