qbolt/qbolt/interop.h

31 lines
480 B
C
Raw Normal View History

#ifndef INTEROP_H
#define INTEROP_H
#include "../qbolt.h"
#include <QString>
2017-05-21 00:39:55 +00:00
#include <QList>
class GoSliceManagedWrapper {
Q_DISABLE_COPY(GoSliceManagedWrapper)
public:
GoSliceManagedWrapper(QStringList *qsl);
protected:
QList<QByteArray> rawStrings;
QList<GoString> strings;
public:
GoSlice slice;
};
class Interop
{
public:
Interop();
static GoString toGoString_WeakRef(QByteArray *qba);
static int64_t GetMagic();
};
#endif // INTEROP_H