public function rdb_ocean_get_step_count(c_handle, step_out) result(status) bind(c, name="rdb_ocean_get_step_count")
Outer-step counter. Reads dyn%outer_step_count directly (the
kernel’s own bookkeeping) rather than keeping a second counter on
the handle, so there is exactly one source of truth.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
function rdb_ocean_get_step_count(c_handle,step_out)result(status)&bind(c,name="rdb_ocean_get_step_count")!! Outer-step counter. Reads `dyn%outer_step_count` directly (the!! kernel's own bookkeeping) rather than keeping a second counter on!! the handle, so there is exactly one source of truth.type(c_ptr),intent(in),value::c_handleinteger(c_int),intent(out)::step_outinteger(c_int)::statustype(ocean_handle_t),pointer::hstep_out=0_c_intstatus=resolve_ocean(c_handle,h)if(status/=OCEAN_STATUS_OK)returnstep_out=int(h%state%dyn%outer_step_count,c_int)end function rdb_ocean_get_step_count