mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 00:48:38 +00:00
39 lines
1.1 KiB
C++
39 lines
1.1 KiB
C++
#pragma once
|
|
#ifndef MIQT_QT_SCRIPT_GEN_QSCRIPTSTRING_H
|
|
#define MIQT_QT_SCRIPT_GEN_QSCRIPTSTRING_H
|
|
|
|
#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 QScriptString;
|
|
#else
|
|
typedef struct QScriptString QScriptString;
|
|
#endif
|
|
|
|
QScriptString* QScriptString_new();
|
|
QScriptString* QScriptString_new2(QScriptString* other);
|
|
void QScriptString_OperatorAssign(QScriptString* self, QScriptString* other);
|
|
bool QScriptString_IsValid(const QScriptString* self);
|
|
bool QScriptString_OperatorEqual(const QScriptString* self, QScriptString* other);
|
|
bool QScriptString_OperatorNotEqual(const QScriptString* self, QScriptString* other);
|
|
unsigned int QScriptString_ToArrayIndex(const QScriptString* self);
|
|
struct miqt_string QScriptString_ToString(const QScriptString* self);
|
|
unsigned int QScriptString_ToArrayIndex1(const QScriptString* self, bool* ok);
|
|
void QScriptString_Delete(QScriptString* self, bool isSubclass);
|
|
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
#endif
|