Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/makesrna.c
| Show First 20 Lines • Show All 4,178 Lines • ▼ Show 20 Lines | case PROP_COLLECTION: { | ||||
| rna_function_string(cprop->next), | rna_function_string(cprop->next), | ||||
| rna_function_string(cprop->end), | rna_function_string(cprop->end), | ||||
| rna_function_string(cprop->get), | rna_function_string(cprop->get), | ||||
| rna_function_string(cprop->length), | rna_function_string(cprop->length), | ||||
| rna_function_string(cprop->lookupint), | rna_function_string(cprop->lookupint), | ||||
| rna_function_string(cprop->lookupstring), | rna_function_string(cprop->lookupstring), | ||||
| rna_function_string(cprop->assignint)); | rna_function_string(cprop->assignint)); | ||||
| if (cprop->item_type) { | if (cprop->item_type) { | ||||
| fprintf(f, "&RNA_%s\n", (const char *)cprop->item_type); | fprintf(f, "&RNA_%s, ", (const char *)cprop->item_type); | ||||
| } | } | ||||
| else { | else { | ||||
| fprintf(f, "NULL\n"); | fprintf(f, "NULL, "); | ||||
| } | } | ||||
| fprintf(f, "%d", cprop->flag); | |||||
| break; | break; | ||||
| } | } | ||||
| } | } | ||||
| fprintf(f, "};\n\n"); | fprintf(f, "};\n\n"); | ||||
| if (freenest) { | if (freenest) { | ||||
| MEM_freeN(strnest); | MEM_freeN(strnest); | ||||
| ▲ Show 20 Lines • Show All 1,193 Lines • Show Last 20 Lines | |||||