Fact* Fact_Obtain(Stack* stack, Object* parent, Int8* key, UInt32 size)

Fact_Obtain will first find an existing child Fact by the given Key or the first Fact without a Key if none is given.

If no Fact is found or the existing Fact is too small, a new Fact is generated and place into the parent.

If an existing Fact was found, the data is copied into the new Fact.

This can be used to grow an existing Fact for appending new data.

Heritage Systems CorporationHeritageSystems.Com
Help Library

Core

Dev

Kind

Kit

Leaf

Map

Message

Net

Overview

Packet

Primitives

Run

Secure

Session

Site

Socket

Sprint

Stack

Tool

The Tree

Primitives

Belt

Bond

Branch

Build

Fact

File

Glob

ID

Image

Leaf

Log

Markup

Money

Object

Package

Parse

Phrase

Render

Sprint

Stack

String

Sum

SVG

Time

Tray

Unit

Verb

Fact
Fact* Fact_Allocate(Stack* stack, UInt32 size)
Fact* Fact_New(Stack* stack, Object* parent, UInt32 size)
Fact* Fact_Obtain(Stack* stack, Object* parent, Int8* key, UInt32 size)
Fact* Fact_Replace(Stack* stack, Fact** fact_pointer, UInt32 size)

Fact_Replace_Buffer

Fact_Replace_Fact

Fact_Replace_Phrase

Fact_Replace_String

Fact* Fact_Allocate(Stack* stack, UInt32 size)