summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2017-11-26 22:44:54 +0100
committermvglasow <michael -at- vonglasow.com>2017-11-26 22:44:54 +0100
commit1181376bb49efcfb844fe4c9033338cf51643af4 (patch)
tree6a223da9dfdf7a476540051783ac241f1f3ac0b3
parent21af325ae9b76a75cc0f4a57380e613dc9ae02d7 (diff)
downloadnavit-1181376bb49efcfb844fe4c9033338cf51643af4.tar.gz
Refactor:core:Improve documentatio
Signed-off-by: mvglasow <michael -at- vonglasow.com>
-rw-r--r--navit/xmlconfig.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/navit/xmlconfig.h b/navit/xmlconfig.h
index 5621a3cfb..483f215d0 100644
--- a/navit/xmlconfig.h
+++ b/navit/xmlconfig.h
@@ -73,13 +73,13 @@ typedef void *(*object_func_unref)(void *);
* Some members can be NULL for certain object types: while Navit does not mandate this function to be
* implemented for every object class, the function may need to be defined for some object classes.
*
- * Default implementations are available for every function in the list except `init` and `dup`. These
- * can be set directly, or type-specific implementations can call through to them as they see fit.
+ * Default implementations are available for every function in the list except `create`, `init` and
+ * `dup`. These can be set directly, or type-specific implementations can call through to them as they
+ * see fit.
*/
struct object_func {
enum attr_type type; /**< The object type */
- void *(*create)(struct attr *parent, struct attr **attrs); /**< Function to create a new object instance,
- * set to `navit_object_new` for default behavior */
+ void *(*create)(struct attr *parent, struct attr **attrs); /**< Function to create a new object instance */
int (*get_attr)(void *, enum attr_type type, struct attr *attr, struct attr_iter *iter); /**< Function
* to get an attribute of the object,
* set to `navit_object_get_attr` for default behavior */