Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/intern/makesdna.c
| Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | |||||
| /** At address `types[a]` is string `a`. */ | /** At address `types[a]` is string `a`. */ | ||||
| static char **types; | static char **types; | ||||
| /** At `types_size[a]` is the size of type `a` on this systems bitness (32 or 64). */ | /** At `types_size[a]` is the size of type `a` on this systems bitness (32 or 64). */ | ||||
| static short *types_size_native; | static short *types_size_native; | ||||
| /** Contains sizes as they are calculated on 32 bit systems. */ | /** Contains sizes as they are calculated on 32 bit systems. */ | ||||
| static short *types_size_32; | static short *types_size_32; | ||||
| /** Contains sizes as they are calculated on 64 bit systems. */ | /** Contains sizes as they are calculated on 64 bit systems. */ | ||||
| static short *types_size_64; | static short *types_size_64; | ||||
| /** At `sp = structs[a]` is the first address of a struct definition: | /** | ||||
| * At `sp = structs[a]` is the first address of a struct definition: | |||||
| * - `sp[0]` is type number. | * - `sp[0]` is type number. | ||||
| * - `sp[1]` is the length of the element array (next). | * - `sp[1]` is the length of the element array (next). | ||||
| * - `sp[2]` sp[3] is [(type_index, name_index), ..] (number of pairs is defined by `sp[1]`), | * - `sp[2]` sp[3] is [(type_index, name_index), ..] (number of pairs is defined by `sp[1]`), | ||||
| */ | */ | ||||
| static short **structs, *structdata; | static short **structs, *structdata; | ||||
| /** Versioning data */ | /** Versioning data */ | ||||
| static struct { | static struct { | ||||
| ▲ Show 20 Lines • Show All 1,447 Lines • Show Last 20 Lines | |||||