Error reporting in cbt_visit_all #24
Labels
enhancement
New feature or request
first-timers-only
Good for new comers
good first issue
Good for newcomers
help wanted
Extra attention is needed
Task
set the op_errorno appropriately when a NULL function pointer is provided or if the number of visited entries does not match the number of entries in the tree. The error codes can be found in
include/cranbtree.h
Method
check for errors before and after the tree traversal
Where to code
Tests
Make sure to uncomment this tests in test/test.c, compile, the run and make sure all the tests passes and nothing is broken
The text was updated successfully, but these errors were encountered: