diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-03-10 21:48:13 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2013-03-10 21:48:13 +0000 |
commit | 594989b31be5a6b4b8e333948c326311bdbfc709 (patch) | |
tree | 0792455e09b3d6235a604ee90d2fe7c53b7092f6 /navit/profile_option.c | |
parent | 1b97cd37c1edcdb41fd1f0fce8e3a9c90b743a13 (diff) | |
download | navit-594989b31be5a6b4b8e333948c326311bdbfc709.tar.gz |
Add:Core:Further work on vehicleprofile_options
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5407 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/profile_option.c')
-rw-r--r-- | navit/profile_option.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/profile_option.c b/navit/profile_option.c index c155ef6a5..0f76cda1a 100644 --- a/navit/profile_option.c +++ b/navit/profile_option.c @@ -34,6 +34,7 @@ profile_option_new(struct attr *parent, struct attr **attrs) po->func=&profile_option_func; navit_object_ref((struct navit_object *)po); po->attrs=attr_list_dup(attrs); + dbg(0,"return %p\n",po); return po; } @@ -48,8 +49,8 @@ struct object_func profile_option_func = { attr_profile_option, (object_func_new)profile_option_new, (object_func_get_attr)navit_object_get_attr, - (object_func_iter_new)NULL, - (object_func_iter_destroy)NULL, + (object_func_iter_new)navit_object_attr_iter_new, + (object_func_iter_destroy)navit_object_attr_iter_destroy, (object_func_set_attr)navit_object_set_attr, (object_func_add_attr)navit_object_add_attr, (object_func_remove_attr)navit_object_remove_attr, |