Skip to content

gfx/detail: Declare glslc-functions as extern "C" - #70

Open
MonsterDruide1 wants to merge 1 commit into
open-ead:masterfrom
MonsterDruide1:glslc-externc
Open

gfx/detail: Declare glslc-functions as extern "C"#70
MonsterDruide1 wants to merge 1 commit into
open-ead:masterfrom
MonsterDruide1:glslc-externc

Conversation

@MonsterDruide1

@MonsterDruide1 MonsterDruide1 commented Jul 20, 2026

Copy link
Copy Markdown

As can be seen in the following functions making use of these declarations, the imported symbol (missing from the executable itself) should not be mangled, so the functions should be declared as extern "C".

  • nn::gfx::detail::GetGlslcCompilePreSpecializedFunction(void)
  • nn::gfx::detail::GetGlslcCompileSpecializedFunction(void)
  • nn::gfx::detail::GetGlslcInitializeFunction(void)
  • nn::gfx::detail::GetGlslcFinalizeFunction(void)
  • nn::gfx::detail::GetGlslcCompileFunction(void)
  • nn::gfx::detail::GetGlslcGetVersionFunction(void)
  • nn::gfx::detail::GetGlslcSetAllocatorFunction(void)
  • nn::gfx::detail::GetGlslcGetDefaultOptionsFunction(void)

This change is Reviewable

@MonsterDruide1 MonsterDruide1 self-assigned this Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant