2026-06-16 20:01:42 +10:00
|
|
|
#include "../../include/ground.h"
|
|
|
|
|
|
|
|
|
|
void _GroundFreeArg(GroundArg* in) {
|
|
|
|
|
if (in->type == GroundArg_Value) {
|
|
|
|
|
Ground.Free.Value(&in->as.value);
|
2026-07-13 16:47:41 +10:00
|
|
|
} else if (in->type != GroundArg_DirectRef && in->type != GroundArg_Label && in->type != GroundArg_LineRef) {
|
2026-06-17 10:11:15 +10:00
|
|
|
Ground.Free.Identifier(in->as.ref);
|
2026-06-16 20:01:42 +10:00
|
|
|
}
|
|
|
|
|
}
|