Skip to content

Commit

Permalink
Add an example to the docs of using the C++ wrappers directly
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Jul 1, 2024
1 parent 73b511c commit 8b265d9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/src/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,14 @@ the current scope. e.g. `SetRef(ctx, "My window")` is fine, but it'll do the
same thing as `SetRef("My window")`.

!!! note
Loads of methods are missing bindings, feel free to open an issue or
contribute them yourself if you're missing one.
Loads of test context methods are missing Julia wrappers, feel free to open
an issue or contribute them yourself if you're missing one.

If you want to try calling the wrapped C++ functions directly, it'll
probably boil down to something like:
```julia
te.lib.Thing(ctx, te.lib.ImGuiTestRef("my ref"))
```

```@docs
TestContext
Expand Down

0 comments on commit 8b265d9

Please sign in to comment.