Changeset View
Changeset View
Standalone View
Standalone View
source/blender/io/wavefront_obj/importer/obj_import_string_utils.cc
- This file was moved from source/blender/io/common/intern/string_utils.cc.
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| #include "IO_string_utils.hh" | #include "obj_import_string_utils.hh" | ||||
| /* Note: we could use C++17 <charconv> from_chars to parse | /* Note: we could use C++17 <charconv> from_chars to parse | ||||
| * floats, but even if some compilers claim full support, | * floats, but even if some compilers claim full support, | ||||
| Context not available. | |||||
| #include "fast_float.h" | #include "fast_float.h" | ||||
| #include <charconv> | #include <charconv> | ||||
| namespace blender::io { | namespace blender::io::obj { | ||||
| StringRef read_next_line(StringRef &buffer) | StringRef read_next_line(StringRef &buffer) | ||||
| { | { | ||||
| Context not available. | |||||
| return StringRef(res.ptr, str.end()); | return StringRef(res.ptr, str.end()); | ||||
| } | } | ||||
| } // namespace blender::io | } // namespace blender::io::obj | ||||
| Context not available. | |||||