summaryrefslogtreecommitdiff
path: root/textproc/php-intl/patches/patch-ad
blob: 1349a8267dfba53e2acd91b76c1a830666c60157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
$NetBSD: patch-ad,v 1.1.1.1 2010/03/21 16:57:13 jdolecek Exp $

--- formatter/formatter_class.c.orig	2010-03-11 00:17:19.000000000 +0100
+++ formatter/formatter_class.c
@@ -80,63 +80,65 @@ zend_object_value NumberFormatter_object
  */
 
 /* {{{ arginfo */
-static ZEND_BEGIN_ARG_INFO_EX(number_parse_arginfo, 0, 0, 1)
+PHP_INTL_ZEND_ARG_STATIC
+ZEND_BEGIN_ARG_INFO_EX(number_parse_arginfo, 0, 0, 1)
 	ZEND_ARG_INFO(0, string)
 	ZEND_ARG_INFO(0, type)
 	ZEND_ARG_INFO(1, position)
 ZEND_END_ARG_INFO()
 
-static ZEND_BEGIN_ARG_INFO_EX(number_parse_currency_arginfo, 0, 0, 2)
+PHP_INTL_ZEND_ARG_STATIC
+ZEND_BEGIN_ARG_INFO_EX(number_parse_currency_arginfo, 0, 0, 2)
 	ZEND_ARG_INFO(0, string)
 	ZEND_ARG_INFO(1, currency)
 	ZEND_ARG_INFO(1, position)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_getattribute, 0, 0, 1)
 	ZEND_ARG_INFO(0, attr)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_setattribute, 0, 0, 2)
 	ZEND_ARG_INFO(0, attr)
 	ZEND_ARG_INFO(0, value)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_setsymbol, 0, 0, 2)
 	ZEND_ARG_INFO(0, attr)
 	ZEND_ARG_INFO(0, symbol)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO(arginfo_numberformatter_getpattern, 0)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_setpattern, 0, 0, 1)
 	ZEND_ARG_INFO(0, pattern)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_getlocale, 0, 0, 0)
 	ZEND_ARG_INFO(0, type)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter___construct, 0, 0, 2)
 	ZEND_ARG_INFO(0, locale)
 	ZEND_ARG_INFO(0, style)
 	ZEND_ARG_INFO(0, pattern)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_formatcurrency, 0, 0, 2)
 	ZEND_ARG_INFO(0, num)
 	ZEND_ARG_INFO(0, currency)
 ZEND_END_ARG_INFO()
 
-static
+PHP_INTL_ZEND_ARG_STATIC
 ZEND_BEGIN_ARG_INFO_EX(arginfo_numberformatter_format, 0, 0, 1)
 	ZEND_ARG_INFO(0, num)
 	ZEND_ARG_INFO(0, type)