Manager of m_error_v across the Fortran-Python interface
Written by hand here. Generation to be automated in future (including docstrings of some sort).
Build an instance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | code | Error code |
||
| character(len=*), | intent(in), | optional | :: | message | Error message |
Index of the built instance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | instance_index | Index in |
Instance at instance_array(instance_index)
Finalise an instance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | instance_index | Index of the instance to finalise |
Get a free instance index
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(out) | :: | available_instance_index | Available instance index |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | instance_index | Index in |
||
| type(ErrorV), | intent(in) | :: | val |
Ensure that instance_array and instance_available have at least n slots
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |