/[zanavi_public1]/navit/navit/map/csv/csv.c
ZANavi

Diff of /navit/navit/map/csv/csv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2 Revision 31
540 enum attr_type* attr_type_list = NULL; 540 enum attr_type* attr_type_list = NULL;
541 struct quadtree_node* tree_root = quadtree_node_new(NULL,-90,90,-90,90); 541 struct quadtree_node* tree_root = quadtree_node_new(NULL,-90,90,-90,90);
542 m = g_new0(struct map_priv, 1); 542 m = g_new0(struct map_priv, 1);
543 m->id = ++map_id; 543 m->id = ++map_id;
544 m->qitem_hash = g_hash_table_new(g_int_hash, g_int_equal); 544 m->qitem_hash = g_hash_table_new(g_int_hash, g_int_equal);
545 m->item_hash = g_hash_table_new_full(g_int_hash, g_int_equal,g_free,g_free); 545 m->item_hash = g_hash_table_new_full(g_int_hash, g_int_equal,g_free_func,g_free_func);
546 546
547 item_type = attr_search(attrs, NULL, attr_item_type); 547 item_type = attr_search(attrs, NULL, attr_item_type);
548 attr_types = attr_search(attrs, NULL, attr_attr_types); 548 attr_types = attr_search(attrs, NULL, attr_attr_types);
549 if(attr_types) { 549 if(attr_types) {
550 enum attr_type* at = attr_types->u.attr_types; 550 enum attr_type* at = attr_types->u.attr_types;

Legend:
Removed from v.2  
changed lines
  Added in v.31

   
Visit the ZANavi Wiki