mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-10-29 04:17:57 +01:00
php: added unpack of class object converter
This commit is contained in:
17
php/msgpack_errors.h
Normal file
17
php/msgpack_errors.h
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
#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
|
||||
Reference in New Issue
Block a user