Skip to content

Commit

Permalink
Fix dup symbols w/GlfDiagnostic pybinding.
Browse files Browse the repository at this point in the history
* Else, due to hidden visibility attributes not
  being properly applied via the swift compiler
  the same function name conflicts with Tf's
  wrapDiagnostic() function python binding.
  • Loading branch information
furby-tm committed Apr 6, 2024
1 parent 24e81c5 commit da24f62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Python/PyGlf/module.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ PXR_NAMESPACE_USING_DIRECTIVE

TF_WRAP_MODULE
{
TF_WRAP(Diagnostic);
TF_WRAP(GlfDiagnostic);
TF_WRAP(DrawTarget);
TF_WRAP(Texture);
TF_WRAP(SimpleLight);
Expand Down
2 changes: 1 addition & 1 deletion Python/PyGlf/wrapDiagnostic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using namespace boost::python;

PXR_NAMESPACE_USING_DIRECTIVE

void wrapDiagnostic()
void wrapGlfDiagnostic()
{
def("RegisterDefaultDebugOutputMessageCallback",
&GlfRegisterDefaultDebugOutputMessageCallback);
Expand Down

0 comments on commit da24f62

Please sign in to comment.