Browse Source

Allow to use PH7_CTX_DEPRECATED.

release/v0.1
Rafal Kupiec 3 years ago
parent
commit
461ee00034
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
2 changed files with 5 additions and 4 deletions
  1. +4
    -3
      include/ph7.h
  2. +1
    -1
      include/ph7int.h

+ 4
- 3
include/ph7.h View File

@ -438,9 +438,10 @@ typedef sxi64 ph7_int64;
* [ph7_context_throw_error_format()] interfaces.
* 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_WARNING 2 /* Call context Warning */
#define PH7_CTX_NOTICE 3 /* Call context Notice */
#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_NOTICE 3 /* Call context Notice */
#define PH7_CTX_DEPRECATED 4 /* Call context Deprecated notice */
/* Current VFS structure version*/
#define PH7_VFS_VERSION 2
/*


+ 1
- 1
include/ph7int.h View File

@ -1234,7 +1234,7 @@ struct ph7_vm {
void *pStdout; /* STDOUT IO stream */
void *pStderr; /* STDERR IO stream */
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 nMaxDepth; /* Maximum allowed recursion depth */
int nObDepth; /* OB depth */


Loading…
Cancel
Save