LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 */ | 225 */ |
226 | 226 |
227 /***/ | 227 /***/ |
228 | 228 |
229 typedef struct OldNew { | 229 typedef struct OldNew { |
230 void *old, *newp; | 230 void *old, *newp; |
231 int nr; | 231 int nr; |
232 } OldNew; | 232 } OldNew; |
233 | 233 |
234 typedef struct OldNewMap { | 234 typedef struct OldNewMap { |
| 235 OldNew *entries; |
| 236 int nentries, entriessize; |
| 237 int sorted; |
235 /* local prototypes */ | 238 /* local prototypes */ |
236 static void *read_struct(FileData *fd, BHead *bh, const char *blockname); | 239 static void *read_struct(FileData *fd, BHead *bh, const char *blockname); |
237 static void direct_link_modifiers(FileData *fd, ListBase *lb); | 240 static void direct_link_modifiers(FileData *fd, ListBase *lb); |
238 | 241 |
239 static OldNewMap *oldnewmap_new(void)· | 242 static OldNewMap *oldnewmap_new(void)· |
240 { | 243 { |
LEFT | RIGHT |