nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::LoopContinuation Struct Reference
Inheritance diagram for nk::LoopContinuation:

Public Member Functions

bool step (VM &vm, Value *prevResult, const std::shared_ptr< VmContinuation > &self) override

Public Attributes

Value handle
std::size_t n = 0
std::size_t i = 0
Value * dest = nullptr
std::function< std::vector< Value >(std::size_t)> makeArgs
std::function< Value(std::vector< Value > &)> pack
std::vector< Value > results

Detailed Description

Definition at line 77 of file callback_builtin.hpp.

Member Function Documentation

◆ step()

bool nk::LoopContinuation::step ( VM & vm,
Value * prevResult,
const std::shared_ptr< VmContinuation > & self )
overridevirtual

Implements nk::VmContinuation.

Member Data Documentation

◆ dest

Value* nk::LoopContinuation::dest = nullptr

Definition at line 82 of file callback_builtin.hpp.

◆ handle

Value nk::LoopContinuation::handle

Definition at line 79 of file callback_builtin.hpp.

◆ i

std::size_t nk::LoopContinuation::i = 0

Definition at line 81 of file callback_builtin.hpp.

◆ makeArgs

std::function<std::vector<Value>(std::size_t)> nk::LoopContinuation::makeArgs

Definition at line 83 of file callback_builtin.hpp.

◆ n

std::size_t nk::LoopContinuation::n = 0

Definition at line 80 of file callback_builtin.hpp.

◆ pack

std::function<Value(std::vector<Value> &)> nk::LoopContinuation::pack

Definition at line 84 of file callback_builtin.hpp.

◆ results

std::vector<Value> nk::LoopContinuation::results

Definition at line 85 of file callback_builtin.hpp.


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