diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-04-02 12:05:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-04-02 14:13:57 +0300 |
commit | 017c731cf38b01e6ffd2d57932c3a268678e51eb (patch) | |
tree | 0536e9d5f911c23828de6179d1f3bf0d5cd76789 /source/blender/python/BPY_extern_clog.h | |
parent | 21fcc723e98b81f77c46edb18c5092d8878c6ccb (diff) |
Logging: use for Python API
Adds categories "bpy.context" & "bpy.rna"
Diffstat (limited to 'source/blender/python/BPY_extern_clog.h')
-rw-r--r-- | source/blender/python/BPY_extern_clog.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern_clog.h b/source/blender/python/BPY_extern_clog.h new file mode 100644 index 00000000000..fbe7139ba1b --- /dev/null +++ b/source/blender/python/BPY_extern_clog.h @@ -0,0 +1,35 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * 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. + * + * ***** END GPL LICENSE BLOCK ***** + */ + +/** \file BPY_extern_clog.h + * \ingroup python + * + * Logging defines. + */ + +#ifndef __BPY_EXTERN_CLOG_H__ +#define __BPY_EXTERN_CLOG_H__ + + +/* bpy_interface.c */ +extern struct CLG_LogRef *BPY_LOG_RNA; +extern struct CLG_LogRef *BPY_LOG_CONTEXT; + +#endif /* __BPY_EXTERN_CLOG_H__ */ |