mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-18 12:25:32 +00:00
examples: exception handling++
Some checks are pending
Android / build_x86_64 (push) Waiting to run
Android / build_aarch64 (push) Waiting to run
iOS / build_x86_64 (push) Waiting to run
iOS / build_arm64 (push) Waiting to run
macOS / build (push) Waiting to run
macOS / compact_test (push) Waiting to run
macOS / unit_test (push) Waiting to run
Ubuntu / build (push) Waiting to run
Ubuntu / compact_test (push) Waiting to run
Ubuntu / unit_test (push) Waiting to run
Windows / build (push) Waiting to run
Windows / compact_test (push) Waiting to run
Windows / unit_test (push) Waiting to run
Some checks are pending
Android / build_x86_64 (push) Waiting to run
Android / build_aarch64 (push) Waiting to run
iOS / build_x86_64 (push) Waiting to run
iOS / build_arm64 (push) Waiting to run
macOS / build (push) Waiting to run
macOS / compact_test (push) Waiting to run
macOS / unit_test (push) Waiting to run
Ubuntu / build (push) Waiting to run
Ubuntu / compact_test (push) Waiting to run
Ubuntu / unit_test (push) Waiting to run
Windows / build (push) Waiting to run
Windows / compact_test (push) Waiting to run
Windows / unit_test (push) Waiting to run
This commit is contained in:
parent
43a082798d
commit
2f9591aa86
1 changed files with 5 additions and 0 deletions
|
@ -90,6 +90,11 @@ struct Example
|
|||
auto rpath = realpath(path, buf);
|
||||
#endif
|
||||
|
||||
if (!rpath) {
|
||||
cout << "Couldn't open directory \"" << path << "\"." << endl;
|
||||
return;
|
||||
}
|
||||
|
||||
//open directory
|
||||
#ifdef _WIN32
|
||||
WIN32_FIND_DATA fd;
|
||||
|
|
Loading…
Add table
Reference in a new issue