document hash_it_int Prints the content of a hashtable displaying the key as an int and the value as pointer
define hash_it_str_x
dont-repeat
set $i = 0
set $x=$arg0->table->first
while($x != 0x0)
printf "key: %s\n", $x->pKey
print (($arg1)$x->data)->$arg2
printf "\n\n"
set $x = $x->next
set $i = $i + 1
end
end
document hash_it_str_x Prints the content of a hashtable displaying the key as a string and a specific member of the value struct. Args: hashtable value_type member
define hash_it_int_x
dont-repeat
set $i = 0
set $x=$arg0->table->first
while($x != 0x0)
printf "key: %d\n", $x->pKey
print (($arg1)$x->data)->$arg2
printf "\n\n"
set $x = $x->next
set $i = $i + 1
end
end
document hash_it_int_x Prints the content of a hashtable displaying the key as a string and a specific member of the value struct. Args: hashtable value_type member