fitpack
Modern Fortran library for curve and surface fitting with splines
Loading...
Searching...
No Matches
fitpack_fx_status::fx_status Interface Reference

C-interoperable status type for error reporting across language boundaries. More...

Public Member Functions

pure type(fx_status) function fx_status_new (code, message)
 Build an error status from a code and a Fortran string.
 

Public Attributes

logical(c_bool) ok = .true._c_bool
 
integer(c_int) code = FX_OK
 
character(c_char), dimension(len_status_msgmessage
 

Detailed Description

C-interoperable status type for error reporting across language boundaries.

Error-status construction: stat0 = fx_status(FX_ERROR_ALLOCATION, "allocation failed")

Member Function/Subroutine Documentation

◆ fx_status_new()

pure type(fx_status) function fitpack_fx_status::fx_status::fx_status_new ( integer(c_int), intent(in) code,
character(*), intent(in) message )

Build an error status from a code and a Fortran string.

Member Data Documentation

◆ code

integer(c_int) fitpack_fx_status::fx_status::code = FX_OK

◆ message

character(c_char), dimension(len_status_msg) fitpack_fx_status::fx_status::message

◆ ok

logical(c_bool) fitpack_fx_status::fx_status::ok = .true._c_bool

The documentation for this interface was generated from the following file: