mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 04:52:59 +01:00
18 lines
407 B
C
18 lines
407 B
C
|
|
#ifndef MSGPACK_ERRORS_H
|
|
#define MSGPACK_ERRORS_H
|
|
|
|
#define MSGPACK_NOTICE(...) \
|
|
if (MSGPACK_G(error_display)) { \
|
|
zend_error(E_NOTICE, __VA_ARGS__); \
|
|
}
|
|
|
|
#define MSGPACK_WARNING(...) \
|
|
if (MSGPACK_G(error_display)) { \
|
|
zend_error(E_WARNING, __VA_ARGS__); \
|
|
}
|
|
|
|
#define MSGPACK_ERROR(...) zend_error(E_ERROR, __VA_ARGS__)
|
|
|
|
#endif
|