LibJuno 1.0.1
LibJuno is a lightweight C11 library designed specifically for embedded systems.
Loading...
Searching...
No Matches
JUNO_VALUE_POINTER_API_TAG Struct Reference

Value-pointer operations API (equality by contents). More...

#include <pointer_api.h>

Data Fields

JUNO_RESULT_BOOL_T(* Equals )(const JUNO_POINTER_T tLeft, const JUNO_POINTER_T tRight)
 Compare two pointer values for equality (by contents).
 

Detailed Description

Value-pointer operations API (equality by contents).

Equals should compare logical key/value identity based on pointee contents, not pointer identity. Used by associative containers (e.g., map).

Field Documentation

◆ Equals

JUNO_RESULT_BOOL_T(* JUNO_VALUE_POINTER_API_TAG::Equals) (const JUNO_POINTER_T tLeft, const JUNO_POINTER_T tRight)

Compare two pointer values for equality (by contents).

Returns
Result with tStatus and boolean equality in tOk.

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