Hi,

I tried to create file lists by using Ecore_Path_Groups, but unfortunately I
didn't get a working result.
Is it possible that the path groups are broken, or do I just miss something?
I use it like this:

#include <Ecore_Data.h>
#include <Ecore_Str.h>
#include <Ecore_File.h>

int main() {
    int i;
    Ecore_List *testliste;
    Ecore_Path_Group *testgruppe;

    testgruppe = ecore_path_group_new();
    ecore_path_group_add(testgruppe, "/tmp");
    testliste = ecore_list_new();
    ecore_list_init(testliste);
    testliste = ecore_path_group_available(testgruppe);

    i = ecore_list_count(testliste);
    printf("%d Entries\n", i);

    return 0;
}


That's the result:

> ***** Developer Warning ***** :
>     This program is calling:
>
>     ecore_list_count();
>
>     With the parameter:
>
>     list
>
>     being NULL. Please fix your program.
> 0 Entries
>



Thanks in advance,

thomasg
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to