This commit is contained in:
Matej Mulej 2024-03-12 20:59:52 +01:00
parent 218d90fb3f
commit db6128afe2
No known key found for this signature in database
GPG Key ID: B6D744DB962F3BBB

View File

@ -2025,7 +2025,7 @@ Marking locks in the C API is done with the following macros:
\item \texttt{TracyCLockCustomName(lock\_ctx, name, size)} \item \texttt{TracyCLockCustomName(lock\_ctx, name, size)}
\end{itemize} \end{itemize}
Additionally a lock context has to be defined next to the lock that they will be marking: Additionally a lock context has to be defined next to the lock that it will be marking:
\begin{lstlisting} \begin{lstlisting}
TracyCLockCtx tracy_lock_ctx; TracyCLockCtx tracy_lock_ctx;