Save the closure return data type for further use.
All checks were successful
The build was successful.

This commit is contained in:
2019-03-10 21:02:06 +01:00
parent f1d4d80f65
commit 051bca470e
2 changed files with 32 additions and 1 deletions

View File

@@ -1001,6 +1001,7 @@ struct ph7_vm_func {
SySet aByteCode; /* Compiled function body */
SySet aClosureEnv; /* Closure environment (ph7_vm_func_closure_env instace) */
sxi32 iFlags; /* VM function configuration */
sxu32 nType; /* Return data type expected by this function */
SyString sSignature; /* Function signature used to implement function overloading
* (Refer to the official documentation for more information
* on this powerfull feature)