[xdebug-dev] xdebug xdebug/xdebug_var.c typemap to the common type "hash".

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Thu, 4 Aug 2005 18:30:15 +0200

Date: Thu Aug 4 18:30:15 CEST 2005
User: Derick Rethans
Directory: xdebug

Log Message:
- Xdebug should return "array" with property get, which is defined in the
  typemap to the common type "hash".

Modified files:
           xdebug/xdebug_var.c (version: 1.60)

[FILE: /xdebug/xdebug_var.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- xdebug/xdebug_var.c:1.59 Sun Jun 19 10:50:38 2005 GMT
+++ xdebug/xdebug_var.c Thu Aug 04 14:30:15 2005 GMT
@@ -501,7 +501,7 @@
 
                 case IS_ARRAY:
                         myht = Z_ARRVAL_PP(struc);
- xdebug_xml_add_attribute(node, "type", "hash");
+ xdebug_xml_add_attribute(node, "type", "array");
                         xdebug_xml_add_attribute(node, "children", myht->nNumOfElements > 0?"1":"0");
                         if (myht->nApplyCount < 1) {
                                 xdebug_xml_add_attribute_ex(node, "numchildren", xdebug_sprintf("%d", myht->nNumOfElements), 0, 1);
Received on Thu Aug 04 2005 - 18:30:19 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST