Skip to content

Commit

Permalink
Sphinx Python Documentation (#1567) - Added define to produce detaile…
Browse files Browse the repository at this point in the history
…d error messages in pybind11.
  • Loading branch information
StefanHabel committed Oct 18, 2023
1 parent c983b87 commit 3567610
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/PyMaterialX/PyMaterialX.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
// include within any PyMaterialX source file.
//

// Set a flag to allow PyBind11 to provide more helpful error messages
#define PYBIND11_DETAILED_ERROR_MESSAGES 1

#include <pybind11/functional.h>
#include <pybind11/operators.h>
#include <pybind11/stl.h>
Expand Down

0 comments on commit 3567610

Please sign in to comment.