Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-04-01 01:43:11 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-04-01 01:49:16 +0300
commitde21f07f6c192e8076ae091e8c73587411bda4fd (patch)
treef1aacbd3256fc548aeaa3f4dd7826a4953b759e2 /source/blender/python/BPY_extern.h
parentbc318fc47099df92323276f849fe5a6ce9007546 (diff)
Generic check for string being a Py keyword
Driver code used incomplete list of Py keywords
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r--source/blender/python/BPY_extern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h
index d3be59921c0..4006816e788 100644
--- a/source/blender/python/BPY_extern.h
+++ b/source/blender/python/BPY_extern.h
@@ -95,6 +95,8 @@ void BPY_context_update(struct bContext *C);
void BPY_id_release(struct ID *id);
+bool BPY_string_is_keyword(const char *str);
+
/* I18n for addons */
#ifdef WITH_INTERNATIONAL
const char *BPY_app_translations_py_pgettext(const char *msgctxt, const char *msgid);