forked from analogdevicesinc/libiio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return optionals where the C-API might return NULL for "no object", a…
…ssertions to check non-null of all C-API pointers passed to wrapper ctors The general idea is that all instances of C++ wrapper classes hold a non-null pointer to objects of the C-API. This assumption is now checked by assertions. Functions that might return "no object" do now return an optional wrapper object. Signed-off-by: Tilman Blumhagen <[email protected]>
- Loading branch information
1 parent
2d22c17
commit b33304f
Showing
1 changed file
with
39 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters