diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-06-11 09:57:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-06-11 14:54:06 +0300 |
commit | 958c20872a662808be8353b33904f1e30c2d0fcf (patch) | |
tree | 0ce531a5c217218f4efdee0811bb3153ff8a17ff /source/blender/python/BPY_extern.h | |
parent | 087c82e392bc4cd175421fc5bc5faa88d218c224 (diff) |
Add argument --python-expr to pass Python directly
This works like Python's -c argument, handy to be able to avoid writing small scripts to disk.
Diffstat (limited to 'source/blender/python/BPY_extern.h')
-rw-r--r-- | source/blender/python/BPY_extern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index a5cf0b94c62..815beebb159 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -86,6 +86,7 @@ void BPY_driver_reset(void); float BPY_driver_exec(struct ChannelDriver *driver, const float evaltime); int BPY_button_exec(struct bContext *C, const char *expr, double *value, const bool verbose); +int BPY_string_exec_ex(struct bContext *C, const char *expr, bool use_eval); int BPY_string_exec(struct bContext *C, const char *expr); void BPY_DECREF(void *pyob_ptr); /* Py_DECREF() */ |