aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/libpyside/pysidemetafunction_p.h
blob: 0207ec3a27a56ee1b075bc12d2c026923703094e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#ifndef PYSIDE_METAFUNCTION_P_H
#define PYSIDE_METAFUNCTION_P_H

#include <sbkpython.h>

#include <QtCore/qtconfigmacros.h>

QT_BEGIN_NAMESPACE
class QObject;
QT_END_NAMESPACE

namespace PySide::MetaFunction {

    void init(PyObject *module);
    /**
     * Does a Qt metacall on a QObject
     */
    bool call(QObject *self, int methodIndex, PyObject *args, PyObject **retVal = nullptr);

} //namespace PySide::MetaFunction

#endif