Merging r46725 through r46963 from trunk into soc-2011-tomato
[blender.git] / source / blender / makesrna / intern / rna_main_api.c
index b206207..98b3c0a 100644 (file)
@@ -200,7 +200,8 @@ void rna_Main_objects_remove(Main *bmain, ReportList *reports, struct Object *ob
        }
 }
 
-struct Material *rna_Main_materials_new(Main *UNUSED(bmain), const char *name){
+Material *rna_Main_materials_new(Main *UNUSED(bmain), const char *name)
+{
        ID *id = (ID *)BKE_material_add(name);
        id_us_min(id);
        return (Material *)id;
@@ -216,7 +217,8 @@ void rna_Main_materials_remove(Main *bmain, ReportList *reports, struct Material
        /* XXX python now has invalid pointer? */
 }
 
-struct bNodeTree *rna_Main_nodetree_new(Main *UNUSED(bmain), const char *name, int type){
+bNodeTree *rna_Main_nodetree_new(Main *UNUSED(bmain), const char *name, int type)
+{
        bNodeTree *tree = ntreeAddTree(name, type, NODE_GROUP);
 
        id_us_min(&tree->id);