2024-11-17 06:21:37 +00:00
|
|
|
#pragma once
|
|
|
|
#ifndef MIQT_QT_GEN_QBYTEARRAYMATCHER_H
|
|
|
|
#define MIQT_QT_GEN_QBYTEARRAYMATCHER_H
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
|
2024-10-16 05:07:56 +00:00
|
|
|
#include "../libmiqt/libmiqt.h"
|
2024-09-14 22:29:05 +00:00
|
|
|
|
2024-08-25 04:08:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
class QByteArrayMatcher;
|
|
|
|
class QStaticByteArrayMatcherBase;
|
|
|
|
#else
|
|
|
|
typedef struct QByteArrayMatcher QByteArrayMatcher;
|
|
|
|
typedef struct QStaticByteArrayMatcherBase QStaticByteArrayMatcherBase;
|
|
|
|
#endif
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QByteArrayMatcher_new(QByteArrayMatcher** outptr_QByteArrayMatcher);
|
|
|
|
void QByteArrayMatcher_new2(struct miqt_string pattern, QByteArrayMatcher** outptr_QByteArrayMatcher);
|
|
|
|
void QByteArrayMatcher_new3(const char* pattern, int length, QByteArrayMatcher** outptr_QByteArrayMatcher);
|
|
|
|
void QByteArrayMatcher_new4(QByteArrayMatcher* other, QByteArrayMatcher** outptr_QByteArrayMatcher);
|
2024-08-25 04:08:24 +00:00
|
|
|
void QByteArrayMatcher_OperatorAssign(QByteArrayMatcher* self, QByteArrayMatcher* other);
|
2024-10-18 23:53:33 +00:00
|
|
|
void QByteArrayMatcher_SetPattern(QByteArrayMatcher* self, struct miqt_string pattern);
|
|
|
|
int QByteArrayMatcher_IndexIn(const QByteArrayMatcher* self, struct miqt_string ba);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QByteArrayMatcher_IndexIn2(const QByteArrayMatcher* self, const char* str, int lenVal);
|
2024-10-18 23:53:33 +00:00
|
|
|
struct miqt_string QByteArrayMatcher_Pattern(const QByteArrayMatcher* self);
|
|
|
|
int QByteArrayMatcher_IndexIn22(const QByteArrayMatcher* self, struct miqt_string ba, int from);
|
2024-09-11 05:41:09 +00:00
|
|
|
int QByteArrayMatcher_IndexIn3(const QByteArrayMatcher* self, const char* str, int lenVal, int from);
|
2024-11-19 06:29:06 +00:00
|
|
|
void QByteArrayMatcher_Delete(QByteArrayMatcher* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QStaticByteArrayMatcherBase_Delete(QStaticByteArrayMatcherBase* self, bool isSubclass);
|
2024-08-25 04:08:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern C */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|