21 {
PF_REMOVE,
"REMOVE", 0,
"Remove Pack",
""},
23 {
PF_WRITE_LOCAL,
"WRITE_LOCAL", 0,
"Write Local File (overwrite existing)",
""},
25 {
PF_WRITE_ORIGINAL,
"WRITE_ORIGINAL", 0,
"Write Original File (overwrite existing)",
""},
31 static void rna_PackedImage_data_get(
PointerRNA *
ptr,
char *value)
34 memcpy(value,
pf->data, (
size_t)
pf->size);
35 value[
pf->size] =
'\0';
60 prop,
"rna_PackedImage_data_get",
"rna_PackedImage_data_len",
NULL);
#define pf(_x, _i)
Prefetch 64.
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_packedfile(BlenderRNA *brna)
const EnumPropertyItem rna_enum_unpack_method_items[]