Delete error handle object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | intent(inout) | :: | verror |
subroutine delete_error_api(verror) & & bind(C, name=namespace//"delete_error") !DEC$ ATTRIBUTES DLLEXPORT :: delete_error_api type(c_ptr), intent(inout) :: verror type(vp_error), pointer :: error if (debug) print'("[Info]",1x, a)', "delete_error" if (c_associated(verror)) then call c_f_pointer(verror, error) deallocate(error) verror = c_null_ptr end if end subroutine delete_error_api