diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-09 05:29:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-09 05:29:53 +0400 |
commit | a59ba9a519c076aad17e00442e3fc0ad6bf26284 (patch) | |
tree | f2eddeb85c33b39b5ce3768194cf5978fa6ac098 /source/blender/makesrna/intern/rna_access.c | |
parent | ae7401751c126dfd0373d6f16b71d0311c1c2ea2 (diff) |
- turn RNA_warning into a macro which includes the function name (was being written in manually but had incorrect func names in places).
- add __func__ define to BLI_utildefines.h for MSVC.
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_access.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index e7d0c5cdec2..ea23fea0c2c 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -5374,7 +5374,8 @@ int RNA_property_copy(PointerRNA *ptr, PointerRNA *fromptr, PropertyRNA *prop, i return 0; } -void RNA_warning(const char *format, ...) +/* use RNA_warning macro which includes __func__ suffix */ +void _RNA_warning(const char *format, ...) { va_list args; |