Fix callbacks.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-04-10 09:08:10 +02:00
parent f0e50678e3
commit 447910ce2e
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions

View File

@ -5719,7 +5719,7 @@ PH7_PRIVATE int PH7_VmIsCallable(ph7_vm *pVm, ph7_value *pValue, int CallInvoke)
}
}
}
} else if(pValue->iFlags & MEMOBJ_STRING) {
} else if(pValue->iFlags & (MEMOBJ_CALL | MEMOBJ_STRING)) {
const char *zName;
int nLen;
/* Extract the name */