RNA: support compiling rna files as C++ code #108290

Merged
Jacques Lucke merged 29 commits from JacquesLucke/blender:rna-cpp into main 2023-06-09 11:45:46 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5a9ba794f9 - Show all commits

View File

@ -1263,7 +1263,7 @@ static char *rna_def_property_set_func(
}
}
fprintf(f, " *(void **)data->%s = value.data;\n", dp->dnaname);
fprintf(f, " *(void **)&data->%s = value.data;\n", dp->dnaname);
}
fprintf(f, "}\n\n");
break;