Blender Git Commit Log
Git Commits -> Revision e3c8cf0
Revision e3c8cf0 by Bastien Montagne (master) July 4, 2014, 12:14 (GMT) |
Add (r)partition funcs to BLI_string, to get left-most/right-most first occurence of delimiters. Inspired by Python (r)partition str functions. Also added some Gtest cases for those new funcs. Reviewed by Campbell Barton, many thanks! |
Commit Details:
Full Hash: e3c8cf0a9ea00ef6c7a63b5fc8351f5f9be1ac8f
Parent Commit: 85c4fea
Lines Changed: +387, -0
1 Added Path:
/tests/gtests/blenlib/BLI_string_test.cc (+269, -0) (View)
8 Modified Paths:
/source/blender/blenfont/intern/blf_util.c (+1, -0) (Diff)
/source/blender/blenlib/BLI_string.h (+4, -0) (Diff)
/source/blender/blenlib/BLI_string_utf8.h (+4, -0) (Diff)
/source/blender/blenlib/intern/string.c (+60, -0) (Diff)
/source/blender/blenlib/intern/string_utf8.c (+46, -0) (Diff)
/source/blender/blenlib/intern/timecode.c (+1, -0) (Diff)
/source/blender/imbuf/intern/metadata.c (+1, -0) (Diff)
/tests/gtests/blenlib/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenlib/BLI_string.h (+4, -0) (Diff)
/source/blender/blenlib/BLI_string_utf8.h (+4, -0) (Diff)
/source/blender/blenlib/intern/string.c (+60, -0) (Diff)
/source/blender/blenlib/intern/string_utf8.c (+46, -0) (Diff)
/source/blender/blenlib/intern/timecode.c (+1, -0) (Diff)
/source/blender/imbuf/intern/metadata.c (+1, -0) (Diff)
/tests/gtests/blenlib/CMakeLists.txt (+1, -0) (Diff)