When closing a view, it is now automatically checked that all OBI_QUAL
columns correspond to their associated OBI_SEQ column
This commit is contained in:
@ -464,7 +464,7 @@ int obi_save_view(Obiview_p view);
|
||||
/**
|
||||
* @brief Closes an opened view.
|
||||
*
|
||||
* @warning Use obi_save_and_close_view() to automatically save the view if it's not already saved in the view file.
|
||||
* @warning Uses obi_save_and_close_view() to automatically save the view if it's not already saved in the view file.
|
||||
*
|
||||
* @param view A pointer on the view.
|
||||
*
|
||||
@ -481,6 +481,9 @@ int obi_close_view(Obiview_p view);
|
||||
/**
|
||||
* @brief Closes an opened view, and saves it if it is not read-only (meaning it is not already saved in the view file).
|
||||
*
|
||||
* The predicates associated with the view are checked before saving it, and -1 is returned if at
|
||||
* least one predicate is not respected.
|
||||
*
|
||||
* @param view A pointer on the view.
|
||||
*
|
||||
* @returns A value indicating the success of the operation.
|
||||
|
Reference in New Issue
Block a user