Skip to content
This repository was archived by the owner on Dec 26, 2025. It is now read-only.

Next: GetVariableSlot

Archie_UwU edited this page Apr 9, 2024 · 2 revisions

Uses the Code_Variable_FindAlloc_Slot_From_Name function to allocate or find a variable's hash in an object's hashmap.

Syntax

AurieStatus GetNamedRoutineIndex(
    [in]  const RValue& Object,
    [in]  const char*   VariableName
    [out] int32_t&      Hash
);

Parameters

Object

VariableName

Hash

A reference to a 32-bit integer, into which the hash of VariableName will be written. If the function fails, the value in the buffer referenced by Hash isn't overwritten.

Return Value

The function returns AURIE_SUCCESS on success, otherwise returns a matching error code. If the internal runner function needed for hashing variable names isn't available, the AURIE_MODULE_INTERNAL_ERROR status code is returned.

Quick Access

Documentation

Writeups

Clone this wiki locally