11 {
2 a\
3/* -*- c -*- */\
4#ifndef INCLUDED_LIB3DS_CHUNKTABLE_H\
5#define INCLUDED_LIB3DS_CHUNKTABLE_H\
6/*\
7 * The 3D Studio File Format Library\
8 * Copyright (C) 1996-2007 by Jan Eric Kyprianidis <www.kyprianidis.com>\
9 * All rights reserved.\
10 *\
11 * This program is  free  software;  you can redistribute it and/or modify it\
12 * under the terms of the  GNU Lesser General Public License  as published by\
13 * the  Free Software Foundation;  either version 2.1 of the License,  or (at\
14 * your option) any later version.\
15 *\
16 * This  program  is  distributed in  the  hope that it will  be useful,  but\
17 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\
18 * or  FITNESS FOR A  PARTICULAR PURPOSE.  See the  GNU Lesser General Public\
19 * License for more details.\
20 *\
21 * You should  have received  a copy of the GNU Lesser General Public License\
22 * along with  this program;  if not, write to the  Free Software Foundation,\
23 * Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\
24 *\
25 * $Id: chunktable.sed,v 1.7 2007/06/14 09:59:10 jeh Exp $\
26 */\
27\
28#ifndef INCLUDED_LIB3DS_CHUNK_H\
29#include <lib3ds/chunk.h>\
30#endif\
31\
32#ifdef __cplusplus\
33extern "C" {\
34#endif\
35\
36typedef struct _Lib3dsChunkTable {\
37    Lib3dsDword chunk;\
38    const char* name;\
39} Lib3dsChunkTable;\
40\
41static Lib3dsChunkTable lib3ds_chunk_table[]={
42}
43/^ *LIB3DS_/ {
44  s/ *\([0-9A-Z_]*\).*/  {\1, "\1"},/
45  p
46}
47$ {
48 i\
49  {0,0}\
50};\
51\
52#ifdef __cplusplus\
53};\
54#endif\
55#endif\
56
57}
58d
59
60
61
62
63