Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document ucl_object_iter_chk_excpn() and add it into test scenario. #206

Merged
merged 8 commits into from
Apr 3, 2019
Prev Previous commit
Next Next commit
Fix spelling and markup errors.
  • Loading branch information
sobomax committed Apr 2, 2019
commit aadd923a08805665ce8041bcca598ef763d80cbf
8 changes: 4 additions & 4 deletions doc/libucl.3
Original file line number Diff line number Diff line change
Expand Up @@ -618,14 +618,14 @@ UCL defines the following functions to manage safe iterators:
.IP \[bu] 2
\f[C]ucl_object_iterate_safe\f[] \- safely iterate the object inside
iterator.
Note: function may allocate and fees memory during its operation.
Note: function may allocate and free memory during its operation.
Therefore it returns \f[C]NULL\f[] either while trying to access item
after the last one or when exception (sucn as memory allocation
after the last one or when exception (such as memory allocation
failure) happens.
.IP \[bu] 2
\f[C]ucl_object_iter_chk_excpn\f[] \- check if last call to
\f[C]ucl_object_iter_chk_excpn\f[] \- check if the last call to
\f[C]ucl_object_iterate_safe\f[] ended up in unrecoverable exception
(e.g. \f[C]ENOMEM\f) .
(e.g. \f[C]ENOMEM\f[]).
.IP \[bu] 2
\f[C]ucl_object_iterate_free\f[] \- free memory associated with the safe
iterator.
Expand Down