Re: [E-devel] ecore_path questions

2007-11-04 Thread Peter Wehrfritz
Vincent Torri schrieb: Hey I have 2 qestions about ecore_path: 1) about ecore_path_group_new, the documentation says that if an error occured, then 0 is returned. But I see a return -1; Shouldn't the function return 0 instead ? Also, if ecore_list_new return NULL, shouldn't we also

Re: [E-devel] ecore_path questions

2007-11-04 Thread Nathan Ingersoll
On 11/4 On 11/4/07, Peter Wehrfritz [EMAIL PROTECTED] wrote: 3) What is the purpose of the group name? Currently it is only used during the creation to check if the group name is an unique string, otherwise it fails. We could simply remove it, without any feature loss. It'd save memory and

[E-devel] ecore_path questions

2007-11-03 Thread Vincent Torri
Hey I have 2 qestions about ecore_path: 1) about ecore_path_group_new, the documentation says that if an error occured, then 0 is returned. But I see a return -1; Shouldn't the function return 0 instead ? Also, if ecore_list_new return NULL, shouldn't we also return an error (0 or -1,

Re: [E-devel] ecore_path questions

2007-11-03 Thread Sebastian Dransfeld
Vincent Torri wrote: Hey I have 2 qestions about ecore_path: 1) about ecore_path_group_new, the documentation says that if an error occured, then 0 is returned. But I see a return -1; Shouldn't the function return 0 instead ? Also, if ecore_list_new return NULL, shouldn't we also