Allow to use PH7_CTX_DEPRECATED.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2018-08-30 13:47:01 +02:00
parent fbc725c935
commit 461ee00034
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 5 additions and 4 deletions

View File

@ -438,9 +438,10 @@ typedef sxi64 ph7_int64;
* [ph7_context_throw_error_format()] interfaces. * [ph7_context_throw_error_format()] interfaces.
* Refer to the official documentation for additional information. * Refer to the official documentation for additional information.
*/ */
#define PH7_CTX_ERR 1 /* Call context error such as unexpected number of arguments,invalid types and so on. */ #define PH7_CTX_ERR 1 /* Call context Error such as unexpected number of arguments,invalid types and so on. */
#define PH7_CTX_WARNING 2 /* Call context Warning */ #define PH7_CTX_WARNING 2 /* Call context Warning */
#define PH7_CTX_NOTICE 3 /* Call context Notice */ #define PH7_CTX_NOTICE 3 /* Call context Notice */
#define PH7_CTX_DEPRECATED 4 /* Call context Deprecated notice */
/* Current VFS structure version*/ /* Current VFS structure version*/
#define PH7_VFS_VERSION 2 #define PH7_VFS_VERSION 2
/* /*

View File

@ -1234,7 +1234,7 @@ struct ph7_vm {
void *pStdout; /* STDOUT IO stream */ void *pStdout; /* STDOUT IO stream */
void *pStderr; /* STDERR IO stream */ void *pStderr; /* STDERR IO stream */
sxbool bDebug; /* TRUE to enable debugging */ sxbool bDebug; /* TRUE to enable debugging */
sxbool bErrReport; /* TRUE to report all runtime Error/Warning/Notice */ sxbool bErrReport; /* TRUE to report all runtime Error/Warning/Notice/Deprecated */
int nRecursionDepth; /* Current recursion depth */ int nRecursionDepth; /* Current recursion depth */
int nMaxDepth; /* Maximum allowed recursion depth */ int nMaxDepth; /* Maximum allowed recursion depth */
int nObDepth; /* OB depth */ int nObDepth; /* OB depth */