public interface call_py_noret
Interface to call a Python objects (methods or other callables), ignoring the return value.
Arguments (optional) have to be passed as tuple.
Keyword arguments (optional) have to be passed as dict.
Module Procedures
private function call_py_noret_attribute(obj, attr_name, args, kwargs) result(ierror)
Python equivalent: obj.attr_name(args, *kwargs)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(object), |
intent(in) |
|
| :: |
obj | |
character(kind=C_CHAR,len=*), |
intent(in) |
|
| :: |
attr_name | |
class(tuple), |
intent(in), |
optional |
| :: |
args | |
class(dict), |
intent(in), |
optional |
| :: |
kwargs | |
Return Value integer(kind=C_INT)
private function call_py_noret_object(obj_to_call, args, kwargs) result(ierror)
Python equivalent: obj.attr_name(args, *kwargs)
Arguments
Type |
Intent | Optional |
Attributes | | Name | |
class(object), |
intent(in) |
|
| :: |
obj_to_call | |
class(tuple), |
intent(in), |
optional |
| :: |
args | |
class(dict), |
intent(in), |
optional |
| :: |
kwargs | |
Return Value integer(kind=C_INT)