From 673796d8781247e79bdd1b706cf95c8899eab82f Mon Sep 17 00:00:00 2001 From: belliash Date: Thu, 13 Jun 2019 08:04:58 +0200 Subject: [PATCH] Add missing function description. --- engine/memobj.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/memobj.c b/engine/memobj.c index cedf116..0b63f1a 100644 --- a/engine/memobj.c +++ b/engine/memobj.c @@ -686,7 +686,10 @@ PH7_PRIVATE ProcMemObjCast PH7_MemObjCastMethod(sxi32 nType) { return PH7_MemObjRelease; } /* - * + * Check whether the ph7_value has a NULL-value. In AerScript, + * the NULL-value means the default initialization value (i.e. + * for INTEGER this should be 0). Exception is the variable of + * void type, that cannot store values other than NULL. */ PH7_PRIVATE sxi32 PH7_MemObjIsNull(ph7_value *pObj) { if(pObj->nType & MEMOBJ_HASHMAP) {