summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_data.h
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-06-06 11:36:00 +0200
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-06-06 11:36:00 +0200
commit52d541a3149d4a21e9f45fa80b26c338636f92c4 (patch)
treef20229e3df4029130e5f497b204952b344696c82 /ext/intl/msgformat/msgformat_data.h
parent45b3fa4deea739c8a3bf8778efac2f748a2685bc (diff)
downloadphp-git-52d541a3149d4a21e9f45fa80b26c338636f92c4.tar.gz
Optimization in ext/intl/msgformat
Don't transform the string to make it apostrophe friendly in ICU 4.8+ as that it is now the default.
Diffstat (limited to 'ext/intl/msgformat/msgformat_data.h')
-rwxr-xr-xext/intl/msgformat/msgformat_data.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/intl/msgformat/msgformat_data.h b/ext/intl/msgformat/msgformat_data.h
index 44001753b3..6479888f8f 100755
--- a/ext/intl/msgformat/msgformat_data.h
+++ b/ext/intl/msgformat/msgformat_data.h
@@ -19,9 +19,9 @@
#include <php.h>
-#include <unicode/umsg.h>
+#include "../intl_error.h"
-#include "intl_error.h"
+#include <unicode/umsg.h>
typedef struct {
// error hangling
@@ -36,6 +36,9 @@ typedef struct {
msgformat_data* msgformat_data_create( TSRMLS_D );
void msgformat_data_init( msgformat_data* mf_data TSRMLS_DC );
void msgformat_data_free( msgformat_data* mf_data TSRMLS_DC );
+
+#ifdef MSG_FORMAT_QUOTE_APOS
int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec);
+#endif
#endif // MSG_FORMAT_DATA_H