summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/eina_inarray.h2
-rw-r--r--src/lib/eina_model.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/eina_inarray.h b/src/include/eina_inarray.h
index 5a9f9d9..034a116 100644
--- a/src/include/eina_inarray.h
+++ b/src/include/eina_inarray.h
@@ -76,7 +76,7 @@
76 * to ask eina to use a step of size 4 because that's how many elements we'll be 76 * to ask eina to use a step of size 4 because that's how many elements we'll be
77 * putting on the array: 77 * putting on the array:
78 * @until _step_set 78 * @until _step_set
79 * @note Strictly speaking the reason to call eina_inarray_setup() is not 79 * @note Strictly speaking the reason to call eina_inarray_step_set() is not
80 * because we're storing different type, but rather because our types have 80 * because we're storing different type, but rather because our types have
81 * different sizes. Eina inline arrays don't actually know anything about types, 81 * different sizes. Eina inline arrays don't actually know anything about types,
82 * they only deal in blocks of memory of a given size. 82 * they only deal in blocks of memory of a given size.
diff --git a/src/lib/eina_model.c b/src/lib/eina_model.c
index ee8e3e9..22ca718 100644
--- a/src/lib/eina_model.c
+++ b/src/lib/eina_model.c
@@ -2769,7 +2769,7 @@ _eina_model_interface_children_inarray_setup(Eina_Model *model)
2769 DBG("setup interface children (inarray) at %p model %p (%s)", 2769 DBG("setup interface children (inarray) at %p model %p (%s)",
2770 priv, model, model->desc->cache.types[0]->name); 2770 priv, model, model->desc->cache.types[0]->name);
2771 2771
2772 eina_inarray_setup(priv, sizeof(Eina_Model *), 0); 2772 eina_inarray_step_set(priv, sizeof(Eina_Inarray), sizeof(Eina_Model *), 0);
2773 return EINA_TRUE; 2773 return EINA_TRUE;
2774} 2774}
2775 2775