// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial

#ifndef PYSIDEMETATYPE_H
#define PYSIDEMETATYPE_H

#include <sbkpython.h>

#include <pysidemacros.h>

#include <QtCore/QtGlobal>

QT_FORWARD_DECLARE_CLASS(QMetaType)

namespace PySide
{

/// Returns the QMetaType matching a PyTypeObject
/// \param
/// \param type TypeObject
/// \return QMetaType
PYSIDE_API QMetaType qMetaTypeFromPyType(PyTypeObject *type);

} //namespace PySide

#endif // PYSIDEMETATYPE_H
