repo.or.cz
/
gliv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Translations updates.
[gliv.git]
/
tools
/
formats.gperf
blob
cae0fa8bf466db93a9d992c99d62ae7adf5680b3
1
%{
2
3
#include "gliv.h"
4
#include "formats.h"
5
6
%}
7
struct format {
8
const gchar *name;
9
const loader_t loader;
10
};
11
%struct-type
12
%ignore-case
13
%language=ANSI-C
14
%define lookup-function-name ext_to_loader
15
%readonly-tables
16
%includes
17
%omit-struct-type
18
%%
19
ani, LOADER_PIXBUF
20
bmp, LOADER_PIXBUF
21
bz2, LOADER_DECOMP
22
gif, LOADER_PIXBUF
23
gliv, LOADER_DOT_GLIV
24
gz, LOADER_DECOMP
25
ico, LOADER_PIXBUF
26
jpe, LOADER_PIXBUF
27
jpeg, LOADER_PIXBUF
28
jpg, LOADER_PIXBUF
29
png, LOADER_PIXBUF
30
pnm, LOADER_PIXBUF
31
ras, LOADER_PIXBUF
32
svg, LOADER_PIXBUF
33
tga, LOADER_PIXBUF
34
tif, LOADER_PIXBUF
35
tiff, LOADER_PIXBUF
36
wbmp, LOADER_PIXBUF
37
xbm, LOADER_PIXBUF
38
xpm, LOADER_PIXBUF
39
z, LOADER_DECOMP