File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,6 @@ ZEND_TSRMLS_CACHE_DEFINE()
89
89
ZEND_GET_MODULE (dba )
90
90
#endif
91
91
92
- /* {{{ macromania */
93
-
94
- #define DBA_ID_PARS \
95
- zval * id ; \
96
- dba_info * info = NULL ; \
97
- int ac = ZEND_NUM_ARGS ()
98
-
99
92
/* these are used to get the standard arguments */
100
93
101
94
/* {{{ php_dba_myke_key */
@@ -914,7 +907,9 @@ PHP_FUNCTION(dba_close)
914
907
/* {{{ Checks, if the specified key exists */
915
908
PHP_FUNCTION (dba_exists )
916
909
{
917
- DBA_ID_PARS ;
910
+ zval * id ;
911
+ dba_info * info = NULL ;
912
+ int ac = ZEND_NUM_ARGS ();
918
913
DBA_GET2 ;
919
914
DBA_FETCH_RESOURCE_WITH_ID (info , id );
920
915
@@ -932,7 +927,9 @@ PHP_FUNCTION(dba_fetch)
932
927
{
933
928
char * val ;
934
929
size_t len = 0 ;
935
- DBA_ID_PARS ;
930
+ zval * id ;
931
+ dba_info * info = NULL ;
932
+ int ac = ZEND_NUM_ARGS ();
936
933
zval * key ;
937
934
char * key_str , * key_free ;
938
935
size_t key_len ;
@@ -1078,7 +1075,9 @@ PHP_FUNCTION(dba_nextkey)
1078
1075
If inifile: remove all other key lines */
1079
1076
PHP_FUNCTION (dba_delete )
1080
1077
{
1081
- DBA_ID_PARS ;
1078
+ zval * id ;
1079
+ dba_info * info = NULL ;
1080
+ int ac = ZEND_NUM_ARGS ();
1082
1081
DBA_GET2 ;
1083
1082
DBA_FETCH_RESOURCE_WITH_ID (info , id );
1084
1083
You can’t perform that action at this time.
0 commit comments