7#ifndef PXR_BASE_TF_PY_TRACING_H
8#define PXR_BASE_TF_PY_TRACING_H
12#ifdef PXR_PYTHON_SUPPORT_ENABLED
16#include "pxr/base/tf/api.h"
21PXR_NAMESPACE_OPEN_SCOPE
23#ifdef PXR_PYTHON_SUPPORT_ENABLED
35typedef std::function<void (
TfPyTraceInfo const &)> TfPyTraceFn;
36typedef std::shared_ptr<TfPyTraceFn> TfPyTraceFnId;
41TF_API TfPyTraceFnId TfPyRegisterTraceFn(TfPyTraceFn
const &f);
47void Tf_PyTracingPythonInitialized();
52typedef std::function<void (
TfPyTraceInfo const &)> TfPyTraceFn;
53typedef std::shared_ptr<TfPyTraceFn> TfPyTraceFnId;
56PXR_NAMESPACE_CLOSE_SCOPE
Intended to replace a direct include of Python.h, which causes several build problems with certain co...
Structure passed to python trace functions.