Correct function description.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-08-18 19:32:33 +02:00
parent 4dbd3ea412
commit 4b3279ef01
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 3 additions and 3 deletions

View File

@ -8705,12 +8705,12 @@ static int vm_builtin_var_export(ph7_context *pCtx, int nArg, ph7_value **apArg)
return SXRET_OK;
}
/*
* int get_memory_peak_usage()
* Returns the peak of memory, in bytes, that's been allocated.
* int get_memory_limit()
* Returns the amount of bytes that can be allocated from system.
* Parameters
* None
* Return
* The real size of memory allocated from system.
* The upper memory limit set for script processing.
*/
static int vm_builtin_get_memory_limit(ph7_context *pCtx, int nArg, ph7_value **apArg) {
if(nArg != 0) {