Skip to content

Commit

Permalink
Update docs / 2024-01-16 / 12:26:57
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Jan 16, 2024
1 parent abedbad commit 3c8879a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/book/_sources/doc_params.md
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ struct RunnerCallbacks
// `RegisterTests`: A function that is called once ImGuiTestEngine is ready
// to be filled with tests and automations definitions.
VoidFunction RegisterTests = EmptyVoidFunction();
// `registerTestsCalled`: will be set to true when RegisterTests was called
// (you can set this to false if you want to RegisterTests to be called again
// during the app execution)
bool registerTestsCalled = false;
// --------------- Exit sequence callbacks -------------------
Expand Down
4 changes: 4 additions & 0 deletions docs/book/doc_params.html
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,10 @@ <h2>RunnerCallbacks<a class="headerlink" href="#runnercallbacks" title="Permalin
<span class="w"> </span><span class="c1">// `RegisterTests`: A function that is called once ImGuiTestEngine is ready</span>
<span class="w"> </span><span class="c1">// to be filled with tests and automations definitions.</span>
<span class="w"> </span><span class="n">VoidFunction</span><span class="w"> </span><span class="n">RegisterTests</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">EmptyVoidFunction</span><span class="p">();</span>
<span class="w"> </span><span class="c1">// `registerTestsCalled`: will be set to true when RegisterTests was called</span>
<span class="w"> </span><span class="c1">// (you can set this to false if you want to RegisterTests to be called again</span>
<span class="w"> </span><span class="c1">// during the app execution)</span>
<span class="w"> </span><span class="kt">bool</span><span class="w"> </span><span class="n">registerTestsCalled</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="nb">false</span><span class="p">;</span>


<span class="w"> </span><span class="c1">// --------------- Exit sequence callbacks -------------------</span>
Expand Down
Loading

0 comments on commit 3c8879a

Please sign in to comment.