Skip to content

Safe Strings & OwnedString Interop #22

@AKRiLLiCK

Description

@AKRiLLiCK
  • Description: Implement the immutable String slice wrapper and the OwnedString type for allocator-aware formatting.
  • Acceptance Criteria:
    • Implement STRING_new.
    • Implement STRING_format and STRING_formatVariadic utilizing snprintf/memccpy safely under the hood.
    • Tests must verify that STRING_format routes through the provided Allocator, returns a valid OwnedString via the Monad union, and properly handles allocation failures.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No fields configured for Task.

    Projects

    Status
    In review

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions