diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-22 16:31:07 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-08-22 16:33:44 +0300 |
commit | 8965a81271661d017c8dea93446c75677ba2f7eb (patch) | |
tree | 1d5e0c58967ee0efe9e9a3a199fbadb6974846b0 /source/blender/makesrna/intern/rna_access_internal.h | |
parent | 662d94e020f36e75b9c6b4a258f31c1625573ee8 (diff) |
Cleanup: Split some code out of rna_access.c
That file was getting out of control, now comparison/override RNA code is
in `rna_access_compare_override.c`. 1K lines of code for now, but that
area is likely to grow more in the future...
Note that we can probably split more out of `rna_access.c`, but for now
that will do.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access_internal.h')
-rw-r--r-- | source/blender/makesrna/intern/rna_access_internal.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_access_internal.h b/source/blender/makesrna/intern/rna_access_internal.h new file mode 100644 index 00000000000..28ec504e376 --- /dev/null +++ b/source/blender/makesrna/intern/rna_access_internal.h @@ -0,0 +1,34 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +/** \file + * \ingroup RNA + */ + +#ifndef __RNA_ACCESS_INTERNAL_H__ +#define __RNA_ACCESS_INTERNAL_H__ + +#include "BLI_utildefines.h" + +#include "rna_internal_types.h" + +struct IDProperty; + +PropertyRNA *rna_ensure_property(PropertyRNA *prop); + +void rna_idproperty_touch(struct IDProperty *idprop); + +#endif /* __ACCESS_RNA_INTERNAL_H__ */ |