Epok Engine

EPOK RUNTIME

epok::sequence::copy_channels

Function · 1 overload

Function

Performs `copy channels` as part of PSX kernel ownership, interrupts and low-level services.

Belongs to
epok::sequence
Header
sequence_kernel.hpp
Overloads
1

Declaration

Declaration
inline void copy_channels(Channel (&destination)[16],const Channel (&source)[16])

Performs `copy channels` as part of PSX kernel ownership, interrupts and low-level services.

ParameterTypeMeaning
destinationChannel (&)[16]Value supplied for destination. Keep referenced or pointed-to data valid for the complete call.
sourceconst Channel (&)[16]Value supplied for source. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "sequence_kernel.hpp"

// Assume these named values have been initialized with valid data:
// Channel (&)[16] destination
// const Channel (&)[16] source

epok::sequence::copy_channels(destination, source);

Why use it

It provides direct, allocation-conscious access to PSX kernel ownership, interrupts and low-level services. No exception-based error path is implied by the signature.

Trade-offs and warnings

Pointer/reference arguments are borrowed unless the source contract says otherwise; keep them valid for the complete operation and never assume null is accepted.

Declared in runtime/sequence_kernel.hpp:24

Related members