Blender  V2.93
rna_access_internal.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version 2
5  * of the License, or (at your option) any later version.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  * GNU General Public License for more details.
11  *
12  * You should have received a copy of the GNU General Public License
13  * along with this program; if not, write to the Free Software Foundation,
14  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15  */
16 
21 #pragma once
22 
23 #include "BLI_utildefines.h"
24 
25 #include "rna_internal_types.h"
26 
27 struct IDProperty;
28 struct PropertyRNAOrID;
29 
31  PointerRNA *ptr,
32  PropertyRNAOrID *r_prop_rna_or_id);
33 
35 struct IDProperty *rna_idproperty_find(PointerRNA *ptr, const char *name);
void rna_property_rna_or_id_get(PropertyRNA *prop, PointerRNA *ptr, PropertyRNAOrID *r_prop_rna_or_id)
Definition: rna_access.c:553
struct IDProperty * rna_idproperty_find(PointerRNA *ptr, const char *name)
Definition: rna_access.c:388
void rna_idproperty_touch(struct IDProperty *idprop)
Definition: rna_access.c:242
char name[64]
Definition: DNA_ID.h:74
PointerRNA * ptr
Definition: wm_files.c:3157