Epok Engine

EPOK RUNTIME

epok::nav::World::locate

Method · 1 overload

Method

Performs `locate` as part of the navigation module.

Belongs to
epok::nav::World
Header
navigation.hpp
Overloads
1

Declaration

Declaration
void locate(Handle h,const int32_t* p)

Performs `locate` as part of the navigation module.

ParameterTypeMeaning
hHandleValue supplied for h. Keep referenced or pointed-to data valid for the complete call.
pconst int32_t *Value supplied for p. Keep referenced or pointed-to data valid for the complete call.

Returns: Nothing (void).

Example

C++ example
#include "navigation.hpp"

// Assume these named values have been initialized with valid data:
// Handle h
// const int32_t * p

epok::nav::World& object = /* obtain a valid instance */;

object.locate(h, p);

Why use it

It provides direct, allocation-conscious access to the navigation module. 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/navigation.hpp:67

Related members