(SOC) Storage Only Commit - Sat 22 Jun 14:54:31 CST 2024

This commit is contained in:
William
2024-06-22 14:54:31 +08:00
parent 95a49ebefa
commit 2eb66dbc8d
18 changed files with 414 additions and 378 deletions

View File

@@ -2,7 +2,7 @@
Status NameScope_Create(NameScope *inst)
{
fails(inst, apply(UnavailableInstance));
nonull(inst, apply(UnavailableInstance));
/* Create instances for members from inst. */
state(StatusUtils_IsOkay(NameScope_EmptyName(&inst->latest)),
@@ -17,8 +17,8 @@ Status NameScope_Create(NameScope *inst)
Status NameScope_CopyOf(NameScope *inst, NameScope *other)
{
fails(inst, apply(UnavailableInstance));
fails(other, apply(UnavailableParameter));
nonull(inst, apply(UnavailableInstance));
nonull(other, apply(UnavailableParameter));
/* Copy and assign. */
other->latest = inst->latest;