File tree 1 file changed +2
-5
lines changed
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 22
22
#include "intl_common.h"
23
23
#include "spoofchecker_create.h"
24
24
#include "intl_error.h"
25
+ #include "intl_data.h"
25
26
26
27
#include <unicode/uspoof.h>
27
28
@@ -57,17 +58,13 @@ extern zend_class_entry *Spoofchecker_ce_ptr;
57
58
58
59
#define SPOOFCHECKER_METHOD_FETCH_OBJECT_NO_CHECK INTL_METHOD_FETCH_OBJECT(Spoofchecker, co)
59
60
#define SPOOFCHECKER_METHOD_FETCH_OBJECT \
60
- SPOOFCHECKERMETHOD_FETCH_OBJECT_NO_CHECK; \
61
+ SPOOFCHECKER_METHOD_FETCH_OBJECT_NO_CHECK; \
61
62
if (co->uspoof == NULL) { \
62
63
intl_errors_set(&co->err, U_ILLEGAL_ARGUMENT_ERROR, \
63
64
"Found unconstructed Spoofchecker", 0 TSRMLS_CC); \
64
65
RETURN_FALSE; \
65
66
}
66
67
67
- #define SPOOFCHECKER_METHOD_FETCH_OBJECT \
68
- co = (Spoofchecker_object *) zend_object_store_get_object(object TSRMLS_CC); \
69
- intl_error_reset(SPOOFCHECKER_ERROR_P(co) TSRMLS_CC); \
70
-
71
68
// Macro to check return value of a ucol_* function call.
72
69
#define SPOOFCHECKER_CHECK_STATUS (co , msg ) \
73
70
intl_error_set_code(NULL, SPOOFCHECKER_ERROR_CODE(co) TSRMLS_CC); \
You can’t perform that action at this time.
0 commit comments