mention Tor's contribution * configure.ac: mention m4 directory, check errno header file, add conditionnal when mingw32ce is used, minor formatting * m4/efl_doxygen.m4: fix comments * src/lib/Makefile.am: include fnmatch files only when mingw32ce is used * src/lib/evil_fcntl.c: define correctly _get_osfhandle on mingw32ce * src/lib/evil_pwd.c: fix getpwuid() when cegcc or mingw32ce are used * src/lib/evil_stdlib.c: fix mkstemp() on all Windows platform, guard errno stuff * src/lib/evil_stdlib.h: template -> __template because 'template ' is a c++ keyword. * src/lib/evil_unistd.c: guard errno stuff * src/lib/evil_fnmatch.c: * src/lib/evil_fnmatch_list_of_states.c: * src/lib/evil_fnmatch_private.h: * src/lib/fnmatch.h: added files * win32/common/fnmatch.c: * win32/common/fnmatch.h: * win32/common/fnmatch_list_of_states.c: * win32/common/fnmatch_private.h: removed files SVN revision: 36555devs/devilhorns/wayland_egl
parent
82e185693f
commit
85ffa791af
15 changed files with 283 additions and 131 deletions
@ -1,4 +1,4 @@ |
||||
Main Authors: |
||||
Vincent Torri <vtorri at univ-evry dot fr> |
||||
Tor Lillqvist <tml at iki dot fi> |
||||
Tor Lillqvist <tml at iki dot fi> (pipe function) |
||||
ashikase |
||||
|
@ -0,0 +1,24 @@ |
||||
#ifndef __EVIL_FNMATCH_PRIVATE_H__ |
||||
#define __EVIL_FNMATCH_PRIVATE_H__ |
||||
|
||||
|
||||
typedef int e_bool; |
||||
|
||||
struct list_of_states |
||||
{ |
||||
size_t reserved; |
||||
size_t size; |
||||
size_t *states; |
||||
e_bool *has; |
||||
}; |
||||
|
||||
struct list_of_states *fnmatch_list_of_states_alloc(size_t n, size_t pattern_len); |
||||
|
||||
void fnmatch_list_of_states_free(struct list_of_states *lists, size_t n); |
||||
|
||||
void fnmatch_list_of_states_insert(struct list_of_states *list, size_t state); |
||||
|
||||
void fnmatch_list_of_states_clear(struct list_of_states *list); |
||||
|
||||
|
||||
#endif /* __EVIL_FNMATCH_PRIVATE_H__ */ |
@ -1,28 +0,0 @@ |
||||
#ifndef FNMATCH_PRIVATE_H_ |
||||
# define FNMATCH_PRIVATE_H_ |
||||
|
||||
# include <stddef.h> |
||||
|
||||
typedef int _Bool; |
||||
|
||||
struct list_of_states |
||||
{ |
||||
size_t reserved; |
||||
size_t size; |
||||
size_t *states; |
||||
_Bool *has; |
||||
}; |
||||
|
||||
struct list_of_states* |
||||
fnmatch_list_of_states_alloc(size_t n, size_t pattern_len); |
||||
|
||||
void |
||||
fnmatch_list_of_states_free(struct list_of_states *lists, size_t n); |
||||
|
||||
void |
||||
fnmatch_list_of_states_insert(struct list_of_states *list, size_t state); |
||||
|
||||
void |
||||
fnmatch_list_of_states_clear(struct list_of_states *list); |
||||
|
||||
#endif // ! FNMATCH_PRIVATE_H_
|
Loading…
Reference in new issue