aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/protected.cpp
blob: 7ab52d22b647f4c23215fd9c102f8a1c6e5af854 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

#include "protected.h"

int ProtectedVirtualDestructor::dtor_called = 0;

const char *ProtectedNonPolymorphic::dataTypeName(void *) const
{
    return "pointer";
}

const char *ProtectedNonPolymorphic::dataTypeName(int) const
{
    return "integer";
}