Diff for games/3do-view/dir.c between version 1.10 and 1.11
| version 1.10, 2004/04/06 09:54:15 |
version 1.11, 2004/11/10 18:14:32 |
|
|
| * 2003-08-12 - X11 adaptations |
* 2003-08-12 - X11 adaptations |
| */ |
*/ |
| |
|
| /* $Platon: games/3do-view/dir.c,v 1.9 2003/08/12 20:50:59 nepto Exp $ */ |
/* $Platon: games/3do-view/dir.c,v 1.10 2004/04/06 09:54:15 nepto Exp $ */ |
| |
|
| #include <string.h> |
#include <string.h> |
| #include <stdlib.h> |
#include <stdlib.h> |
|
|
| FA_DIREC + FA_HIDDEN + FA_RDONLY + FA_SYSTEM))) |
FA_DIREC + FA_HIDDEN + FA_RDONLY + FA_SYSTEM))) |
| #endif |
#endif |
| |
|
| |
#if DIR_SMART_ALLOCATION |
| |
/* Sorting currently does not work in smart allocation mode. */ |
| |
#else |
| static int compare_function(const void *ptr1, const void *ptr2) /* {{{ */ |
static int compare_function(const void *ptr1, const void *ptr2) /* {{{ */ |
| { |
{ |
| #if 0 |
#if 0 |
| Line 71 static int compare_function(const void * |
|
| Line 74 static int compare_function(const void * |
|
| #endif |
#endif |
| return strcmp(*(char **) ptr1, *(char **) ptr2); |
return strcmp(*(char **) ptr1, *(char **) ptr2); |
| } /* }}} */ |
} /* }}} */ |
| |
#endif |
| |
|
| void get_directories_and_files(char ***directories, char ***files) /* {{{ */ |
void get_directories_and_files(char ***directories, char ***files) /* {{{ */ |
| { |
{ |
Platon Group <platon@platon.org> http://platon.org/
|
|