24 #ifndef PXR_BASE_TF_PY_TRACING_H 25 #define PXR_BASE_TF_PY_TRACING_H 29 #ifdef PXR_PYTHON_SUPPORT_ENABLED 31 #endif // PXR_PYTHON_SUPPORT_ENABLED 33 #include "pxr/base/tf/api.h" 38 PXR_NAMESPACE_OPEN_SCOPE
40 #ifdef PXR_PYTHON_SUPPORT_ENABLED 52 typedef std::function<void (
TfPyTraceInfo const &)> TfPyTraceFn;
53 typedef std::shared_ptr<TfPyTraceFn> TfPyTraceFnId;
58 TF_API TfPyTraceFnId TfPyRegisterTraceFn(TfPyTraceFn
const &f);
64 void Tf_PyTracingPythonInitialized();
69 typedef std::function<void (
TfPyTraceInfo const &)> TfPyTraceFn;
70 typedef std::shared_ptr<TfPyTraceFn> TfPyTraceFnId;
71 #endif // PXR_PYTHON_SUPPORT_ENABLED 73 PXR_NAMESPACE_CLOSE_SCOPE
75 #endif // PXR_BASE_TF_PY_TRACING_H
Intended to replace a direct include of Python.h, which causes several build problems with certain co...
Structure passed to python trace functions.