mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
Add a new C++ section to USAGE.md
This commit is contained in:
parent
c3bc4bb7f2
commit
297263b39b
10
USAGE.md
10
USAGE.md
@ -12,6 +12,7 @@ version 2, notcurses will honor Semantic Versioning.
|
|||||||
* [Widgets](#widgets) ([Readers](#readers))
|
* [Widgets](#widgets) ([Readers](#readers))
|
||||||
* [Channels](#channels)
|
* [Channels](#channels)
|
||||||
* [Media](#media)
|
* [Media](#media)
|
||||||
|
* [C++](#c++)
|
||||||
|
|
||||||
A full API reference [is available](https://nick-black.com/notcurses/). Manual
|
A full API reference [is available](https://nick-black.com/notcurses/). Manual
|
||||||
pages ought have been installed along with notcurses. This document is a
|
pages ought have been installed along with notcurses. This document is a
|
||||||
@ -2547,3 +2548,12 @@ Finally, an `ncvisual` can be "promoted" from the contents of a plane.
|
|||||||
// to create the ncvisual from memory using ncvisual_from_rgba().
|
// to create the ncvisual from memory using ncvisual_from_rgba().
|
||||||
struct ncvisual* ncvisual_from_plane(struct ncplane* n);
|
struct ncvisual* ncvisual_from_plane(struct ncplane* n);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## C++
|
||||||
|
|
||||||
|
Marek Habersack has contributed (and maintains) C++ wrappers installed to
|
||||||
|
`include/ncpp/`, `libnotcurses++.so`, and `libnotcurses++.a`.
|
||||||
|
|
||||||
|
In their default mode, these wrappers never throw exceptions. If
|
||||||
|
`NCPP_EXCEPTIONS_PLEASE` is defined prior to including any NCPP headers,
|
||||||
|
they will throw exceptions.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user