Skip to content

Commit

Permalink
Don't export symbols in vk::detail namespace (#1931)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadhr authored Aug 5, 2024
1 parent 0f4e59b commit 003cf8e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5864,7 +5864,7 @@ std::string VulkanHppGenerator::generateCppModuleUsings() const

// some hardcoded types
auto const hardCodedResultValueTypes =
std::array{ "ResultValue", "ResultValueType", "detail::createResultValueType", "detail::ignore", "detail::resultCheck" };
std::array{ "ResultValue", "ResultValueType" };
for ( auto const & valueType : hardCodedResultValueTypes )
{
usings += replaceWithMap( usingTemplate, { { "className", valueType } } );
Expand Down
3 changes: 0 additions & 3 deletions vulkan/vulkan.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -945,9 +945,6 @@ export namespace VULKAN_HPP_NAMESPACE

using VULKAN_HPP_NAMESPACE::ResultValue;
using VULKAN_HPP_NAMESPACE::ResultValueType;
using VULKAN_HPP_NAMESPACE::detail::createResultValueType;
using VULKAN_HPP_NAMESPACE::detail::ignore;
using VULKAN_HPP_NAMESPACE::detail::resultCheck;

//===========================
//=== CONSTEXPR CONSTANTs ===
Expand Down
3 changes: 0 additions & 3 deletions vulkan/vulkansc.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -498,9 +498,6 @@ export namespace VULKAN_HPP_NAMESPACE

using VULKAN_HPP_NAMESPACE::ResultValue;
using VULKAN_HPP_NAMESPACE::ResultValueType;
using VULKAN_HPP_NAMESPACE::detail::createResultValueType;
using VULKAN_HPP_NAMESPACE::detail::ignore;
using VULKAN_HPP_NAMESPACE::detail::resultCheck;

//===========================
//=== CONSTEXPR CONSTANTs ===
Expand Down

0 comments on commit 003cf8e

Please sign in to comment.