diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-08-23 19:08:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-08-23 19:08:54 +0400 |
commit | f6a2b8d724646ac357a0eafc2d29b345fdc1ba5f (patch) | |
tree | 2ef09a290f55ab9cd4ed642c3c050525b9d08292 /source/blender/blenlib/BLI_string.h | |
parent | abff0032c4dceabbd2cf5b9682f196dd4a283c76 (diff) |
BLI_strescape for a basic, python like string escaping, currently only use for drag and drop ID's into the console but should eventually be used for the animsys too.
Diffstat (limited to 'source/blender/blenlib/BLI_string.h')
-rw-r--r-- | source/blender/blenlib/BLI_string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_string.h b/source/blender/blenlib/BLI_string.h index 408809661cf..4a0c2ab9482 100644 --- a/source/blender/blenlib/BLI_string.h +++ b/source/blender/blenlib/BLI_string.h @@ -122,6 +122,8 @@ __attribute__ ((format (printf, 1, 2))) #endif ; +size_t BLI_strescape(char *dst, const char *src, const size_t maxlen); + /** * Compare two strings without regard to case. * |