Skip to content

Commit

Permalink
Make builderMakeName public
Browse files Browse the repository at this point in the history
This call is used in the BuilderNameMixin template definition,
which is a public API.
  • Loading branch information
poweifeng authored and z3moon committed Sep 4, 2024
1 parent b0d3f14 commit 422fcea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion filament/include/filament/FilamentAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ class UTILS_PUBLIC FilamentAPI {
template<typename T>
using BuilderBase = utils::PrivateImplementation<T>;

void builderMakeName(utils::CString& outName, const char* name, size_t len) noexcept;
// This needs to be public because it is used in the following template.
UTILS_PUBLIC void builderMakeName(utils::CString& outName, const char* name, size_t len) noexcept;

template <typename Builder>
class UTILS_PUBLIC BuilderNameMixin {
Expand Down

0 comments on commit 422fcea

Please sign in to comment.