miqt/qt6/gen_qhashfunctions.h

53 lines
1.4 KiB
C
Raw Normal View History

#pragma once
#ifndef MIQT_QT6_GEN_QHASHFUNCTIONS_H
#define MIQT_QT6_GEN_QHASHFUNCTIONS_H
2024-10-20 05:21:03 +00:00
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#include "../libmiqt/libmiqt.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
class QHashSeed;
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__QHashCombine)
typedef QtPrivate::QHashCombine QtPrivate__QHashCombine;
#else
class QtPrivate__QHashCombine;
#endif
#if defined(WORKAROUND_INNER_CLASS_DEFINITION_QtPrivate__QHashCombineCommutative)
typedef QtPrivate::QHashCombineCommutative QtPrivate__QHashCombineCommutative;
#else
class QtPrivate__QHashCombineCommutative;
#endif
#else
typedef struct QHashSeed QHashSeed;
typedef struct QtPrivate__QHashCombine QtPrivate__QHashCombine;
typedef struct QtPrivate__QHashCombineCommutative QtPrivate__QHashCombineCommutative;
#endif
QHashSeed* QHashSeed_new();
QHashSeed* QHashSeed_new2(size_t d);
QHashSeed* QHashSeed_GlobalSeed();
void QHashSeed_SetDeterministicGlobalSeed();
void QHashSeed_ResetRandomGlobalSeed();
void QHashSeed_Delete(QHashSeed* self);
QtPrivate__QHashCombine* QtPrivate__QHashCombine_new();
void QtPrivate__QHashCombine_Delete(QtPrivate__QHashCombine* self);
QtPrivate__QHashCombineCommutative* QtPrivate__QHashCombineCommutative_new();
void QtPrivate__QHashCombineCommutative_Delete(QtPrivate__QHashCombineCommutative* self);
#ifdef __cplusplus
} /* extern C */
#endif
#endif