Commit 71eb102a authored by gsell's avatar gsell

src/H5BlockErrors.h

	- macro "CHECK_LAYOUT" added
parent 8aa27328
......@@ -3,6 +3,13 @@
#define _err_handler H5PartGetErrorHandler()
#define CHECK_LAYOUT( f ) \
if ( ! f->block->have_layout ) \
return (*_err_handler) ( \
_H5Part_get_funcname(), \
H5PART_ERR_LAYOUT, \
"No layout defined." )
#define HANDLE_H5PART_LAYOUT_ERR \
(*_err_handler) ( \
_H5Part_get_funcname(), \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment