Documentation

StrForeachPtrInRange

StrForeachPtrInRange Description Iterate over characters in a specific range of the given Str str (as pointers). This is a convenience macro that iterates over a range using an internally managed index and provides a pointer to each character. The variable chrptr is declared and defined by the underlying VecForeachPtrInRange macro as a pointer to the character type.

Read More

StrForeachPtrInRangeIdx

StrForeachPtrInRangeIdx Description Iterate over characters in a specific range of the given Str str at each index idx (as pointers). This macro is a direct alias for VecForeachPtrInRangeIdx specialized for Str. The variables chrptr and idx are declared and defined by the underlying macro.

Read More

StrForeachPtrReverse

StrForeachPtrReverse Description Iterate over each character pointer chrptr of the given Str str in reverse order. This is a convenience macro that iterates backward using an internally managed index and provides a pointer to each character. The variable chrptr is declared and defined by the underlying VecForeachPtrReverse macro as a pointer to the character type.

Read More

StrForeachReverse

StrForeachReverse Description Iterate over each character chr of the given Str str in reverse order. This is a convenience macro that iterates backward using an internally managed index. The variable chr is declared and defined by the underlying VecForeachReverse macro.

Read More

StrForeachReverseIdx

StrForeachReverseIdx Description Iterate over each character chr of the given Str str in reverse order at each index idx. This macro is a direct alias for VecForeachReverseIdx specialized for Str. The variables chr and idx are declared and defined by the underlying macro.

Read More

StrForeachReversePtrIdx

StrForeachReversePtrIdx Description Iterate over each character pointer chrptr of the given Str str in reverse order at each index idx. This macro is a direct alias for VecForeachPtrReverseIdx specialized for Str. The variables chrptr and idx are declared and defined by the underlying macro.

Read More

StrInit

StrInit Description Initialize given string. str : Pointer to string memory that needs to be initialized.

Read More

StrInitFromCstr

StrInitFromCstr Description Initializes a Str object from a C-style string (cstr) with a specified length (len). This macro creates a new Str object and copies up to len characters from cstr.

Read More

StrInitFromStr

StrInitFromStr Description Initialize a Str object using another one

Read More

StrInitFromZstr

StrInitFromZstr Description Initializes a Str object from a null-terminated C-style string (zstr). This macro calculates the length of zstr using strlen and then calls StrInitFromCstr to create the Str object.

Read More
Tags