diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-05-19 11:59:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2020-05-27 13:07:16 +0300 |
commit | 444ca1a117a17b5c7449f3f847e669c71390390d (patch) | |
tree | 5144c2d76c3070dddcf1447cdded1af58ea0133b /intern/opensubdiv/internal/base/util.h | |
parent | 39cf6731320f2592b7c5058b8227d034c290c964 (diff) |
OpenSubdiv: Refactor, move utils to base
Also split them across utilities and types.
Diffstat (limited to 'intern/opensubdiv/internal/base/util.h')
-rw-r--r-- | intern/opensubdiv/internal/base/util.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/intern/opensubdiv/internal/base/util.h b/intern/opensubdiv/internal/base/util.h new file mode 100644 index 00000000000..4035ba7301a --- /dev/null +++ b/intern/opensubdiv/internal/base/util.h @@ -0,0 +1,33 @@ +// Copyright 2013 Blender Foundation. All rights reserved. +// +// 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. + +#ifndef OPENSUBDIV_BASE_UTIL_H_ +#define OPENSUBDIV_BASE_UTIL_H_ + +#include "internal/base/type.h" + +namespace blender { +namespace opensubdiv { + +void stringSplit(vector<string> *tokens, + const string &str, + const string &separators, + bool skip_empty); + +} // namespace opensubdiv +} // namespace blender + +#endif // OPENSUBDIV_BASE_UTIL_H_ |