mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-18 20:02:27 +00:00
c_check_error() should take ctxt by value
This commit is contained in:
@@ -49,7 +49,7 @@ extern "C" {
|
||||
|
||||
|
||||
|
||||
void psb_c_check_error(psb_c_ctxt *cctxt);
|
||||
void psb_c_check_error(psb_c_ctxt cctxt);
|
||||
psb_i_t psb_c_error();
|
||||
psb_i_t psb_c_clean_errstack();
|
||||
void psb_c_print_errmsg();
|
||||
|
||||
@@ -136,8 +136,8 @@ contains
|
||||
use psb_base_mod, only : psb_init, psb_ctxt_type, psb_check_error
|
||||
implicit none
|
||||
|
||||
type(psb_c_object_type) :: cctxt
|
||||
type(psb_ctxt_type), pointer :: ctxt
|
||||
type(psb_c_object_type), value :: cctxt
|
||||
type(psb_ctxt_type), pointer :: ctxt
|
||||
integer :: info
|
||||
|
||||
if (c_associated(cctxt%item)) then
|
||||
|
||||
Reference in New Issue
Block a user