7#ifndef PXR_BASE_TF_PY_SIGNATURE_EXT_H
8#define PXR_BASE_TF_PY_SIGNATURE_EXT_H
10#include "pxr/external/boost/python/common.hpp"
11#include "pxr/external/boost/python/type_list.hpp"
31namespace PXR_BOOST_NAMESPACE {
namespace python {
namespace detail {
33template <
class Ret,
class TheCls,
class ... Args>
34auto get_signature(Ret (TheCls::*)(Args...) &,
void* =
nullptr) {
35 return python::type_list<Ret, TheCls &, Args...>();
37template <
class Ret,
class TheCls,
class ... Args>
38auto get_signature(Ret (TheCls::*)(Args...)
const &,
void* =
nullptr) {
39 return python::type_list<Ret, TheCls &, Args...>();
44#include "pxr/external/boost/python/signature.hpp"