LEFT | RIGHT |
1 /* | 1 /* |
2 * ***** BEGIN GPL LICENSE BLOCK ***** | 2 * ***** BEGIN GPL LICENSE BLOCK ***** |
3 * | 3 * |
4 * This program is free software; you can redistribute it and/or | 4 * This program is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU General Public License | 5 * modify it under the terms of the GNU General Public License |
6 * as published by the Free Software Foundation; either version 2 | 6 * as published by the Free Software Foundation; either version 2 |
7 * of the License, or (at your option) any later version. | 7 * of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 rna_iterator_listbase_begin(iter, &bmain->particle, NULL); | 235 rna_iterator_listbase_begin(iter, &bmain->particle, NULL); |
236 } | 236 } |
237 | 237 |
238 static void rna_Main_gpencil_begin(CollectionPropertyIterator *iter, PointerRNA
*ptr) | 238 static void rna_Main_gpencil_begin(CollectionPropertyIterator *iter, PointerRNA
*ptr) |
239 { | 239 { |
240 Main *bmain = (Main *)ptr->data; | 240 Main *bmain = (Main *)ptr->data; |
241 rna_iterator_listbase_begin(iter, &bmain->gpencil, NULL); | 241 rna_iterator_listbase_begin(iter, &bmain->gpencil, NULL); |
242 } | 242 } |
243 | 243 |
244 static void rna_Main_wm_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) | 244 static void rna_Main_wm_begin(CollectionPropertyIterator *iter, PointerRNA *ptr) |
245 { | |
246 Main *bmain = (Main *)ptr->data; | |
247 rna_iterator_listbase_begin(iter, &bmain->wm, NULL); | 245 rna_iterator_listbase_begin(iter, &bmain->wm, NULL); |
248 } | 246 } |
249 | 247 |
250 #ifdef UNIT_TEST | 248 #ifdef UNIT_TEST |
251 | 249 |
252 static PointerRNA rna_Test_test_get(PointerRNA *ptr) | 250 static PointerRNA rna_Test_test_get(PointerRNA *ptr) |
LEFT | RIGHT |