Merge pull request #103 from mappu/miqt-automatic-bool

Automatic handling for -D_Bool=bool where required
This commit is contained in:
mappu 2024-12-14 10:21:22 +13:00 committed by GitHub
commit b31a1e3dfe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1095 changed files with 4395 additions and 4 deletions

View File

@ -160,7 +160,7 @@ $env:CGO_ENABLED = 1
$env:CC = 'C:\dev\rootfs\bin\clang.exe'
$env:CXX = 'C:\dev\rootfs\bin\clang++.exe'
$env:PKG_CONFIG = 'C:\dev\rootfs\bin\pkg-config.exe'
$env:CGO_CXXFLAGS = '-Wno-ignored-attributes -D_Bool=bool' # Clang 18 recommendation
$env:CGO_CXXFLAGS = '-Wno-ignored-attributes' # Clang 18 recommendation
```
4. Run `go build -ldflags "-s -w -H windowsgui"`
@ -179,8 +179,9 @@ pacman -S mingw-w64-ucrt-x86_64-{go,gcc,pkg-config}
export GOROOT=/ucrt64/lib/go # Needed only if this is the first time installing Go in MSYS2. Otherwise it would be automatically applied when opening a new Bash terminal.
# Install Qt
pacman -S mingw-w64-ucrt-x86_64-qt5-base # For Qt 5
pacman -S mingw-w64-ucrt-x86_64-qt6-base # For Qt 6
pacman -S mingw-w64-ucrt-x86_64-qt5-base # For Qt 5 (UCRT64 GCC toolchain)
pacman -S mingw-w64-ucrt-x86_64-qt6-base # For Qt 6 (UCRT64 GCC toolchain)
pacman -S mingw-w64-clang-x86_64-qt6-base # For Qt 6 (CLANG64 toolchain)
go build -ldflags "-s -w -H windowsgui"
```

View File

@ -809,7 +809,25 @@ func emitBindingCpp(src *CppParsedHeader, filename string) (string, error) {
ret.WriteString(`#include <` + filename + ">\n")
ret.WriteString(`#include "gen_` + filename + "\"\n")
ret.WriteString("#include \"_cgo_export.h\"\n\n")
// We need to import the cgo header so that we can call functions exported
// from Go code
// This header is written in C99 and uses C99 features (_Bool). We are C++
// and _Bool is not defined anywhere
// There is stdbool.h (<cstdbool>) but that does the opposite (defines 'bool'
// in terms of C99's native _Bool type)
// This is not required in GCC nor Clang 12, but is required in Clang 16 and
// later. In the working compilers, it's likely that the _Bool definition is
// automatically applied in some non-strict mode by default.
// We have been recommending CGO_CXXFLAGS=-D_Bool=bool . Now that the problem
// is more well understood, do the equivalent thing automatically
ret.WriteString(`
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
`)
for _, c := range src.Classes {

View File

@ -62,6 +62,10 @@
#define WORKAROUND_INNER_CLASS_DEFINITION_Scintilla__TextToFindFull
#include <ScintillaEdit.h>
#include "gen_ScintillaEdit.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
Scintilla__Internal__Point* Scintilla__Internal__Point_new() {

View File

@ -10,6 +10,10 @@
#include <QTimerEvent>
#include <qsciabstractapis.h>
#include "gen_qsciabstractapis.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciAbstractAPIs : public virtual QsciAbstractAPIs {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qsciapis.h>
#include "gen_qsciapis.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciAPIs : public virtual QsciAPIs {

View File

@ -3,6 +3,10 @@
#include <cstring>
#include <qscicommand.h>
#include "gen_qscicommand.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
int QsciCommand_Command(const QsciCommand* self) {

View File

@ -2,6 +2,10 @@
#include <QSettings>
#include <qscicommandset.h>
#include "gen_qscicommandset.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
bool QsciCommandSet_ReadSettings(QsciCommandSet* self, QSettings* qs) {

View File

@ -1,5 +1,9 @@
#include <qscidocument.h>
#include "gen_qscidocument.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
QsciDocument* QsciDocument_new() {

View File

@ -13,6 +13,10 @@
#include <QTimerEvent>
#include <qscilexer.h>
#include "gen_qscilexer.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexer : public virtual QsciLexer {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexeravs.h>
#include "gen_qscilexeravs.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerAVS : public virtual QsciLexerAVS {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerbash.h>
#include "gen_qscilexerbash.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerBash : public virtual QsciLexerBash {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerbatch.h>
#include "gen_qscilexerbatch.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerBatch : public virtual QsciLexerBatch {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercmake.h>
#include "gen_qscilexercmake.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCMake : public virtual QsciLexerCMake {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercoffeescript.h>
#include "gen_qscilexercoffeescript.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCoffeeScript : public virtual QsciLexerCoffeeScript {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercpp.h>
#include "gen_qscilexercpp.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCPP : public virtual QsciLexerCPP {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qscilexercsharp.h>
#include "gen_qscilexercsharp.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCSharp : public virtual QsciLexerCSharp {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercss.h>
#include "gen_qscilexercss.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCSS : public virtual QsciLexerCSS {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercustom.h>
#include "gen_qscilexercustom.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCustom : public virtual QsciLexerCustom {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerd.h>
#include "gen_qscilexerd.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerD : public virtual QsciLexerD {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerdiff.h>
#include "gen_qscilexerdiff.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerDiff : public virtual QsciLexerDiff {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexeredifact.h>
#include "gen_qscilexeredifact.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerEDIFACT : public virtual QsciLexerEDIFACT {

View File

@ -5,6 +5,10 @@
#include <cstring>
#include <qscilexerfortran.h>
#include "gen_qscilexerfortran.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerFortran : public virtual QsciLexerFortran {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerfortran77.h>
#include "gen_qscilexerfortran77.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerFortran77 : public virtual QsciLexerFortran77 {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerhtml.h>
#include "gen_qscilexerhtml.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerHTML : public virtual QsciLexerHTML {

View File

@ -6,6 +6,10 @@
#include <cstring>
#include <qscilexeridl.h>
#include "gen_qscilexeridl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerIDL : public virtual QsciLexerIDL {

View File

@ -5,6 +5,10 @@
#include <cstring>
#include <qscilexerjava.h>
#include "gen_qscilexerjava.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerJava : public virtual QsciLexerJava {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qscilexerjavascript.h>
#include "gen_qscilexerjavascript.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerJavaScript : public virtual QsciLexerJavaScript {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerjson.h>
#include "gen_qscilexerjson.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerJSON : public virtual QsciLexerJSON {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerlua.h>
#include "gen_qscilexerlua.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerLua : public virtual QsciLexerLua {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexermakefile.h>
#include "gen_qscilexermakefile.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerMakefile : public virtual QsciLexerMakefile {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexermarkdown.h>
#include "gen_qscilexermarkdown.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerMarkdown : public virtual QsciLexerMarkdown {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexermatlab.h>
#include "gen_qscilexermatlab.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerMatlab : public virtual QsciLexerMatlab {

View File

@ -5,6 +5,10 @@
#include <cstring>
#include <qscilexeroctave.h>
#include "gen_qscilexeroctave.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
QsciLexerOctave* QsciLexerOctave_new() {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpascal.h>
#include "gen_qscilexerpascal.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPascal : public virtual QsciLexerPascal {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerperl.h>
#include "gen_qscilexerperl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPerl : public virtual QsciLexerPerl {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpo.h>
#include "gen_qscilexerpo.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPO : public virtual QsciLexerPO {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpostscript.h>
#include "gen_qscilexerpostscript.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPostScript : public virtual QsciLexerPostScript {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpov.h>
#include "gen_qscilexerpov.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPOV : public virtual QsciLexerPOV {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerproperties.h>
#include "gen_qscilexerproperties.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerProperties : public virtual QsciLexerProperties {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpython.h>
#include "gen_qscilexerpython.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPython : public virtual QsciLexerPython {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerruby.h>
#include "gen_qscilexerruby.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerRuby : public virtual QsciLexerRuby {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerspice.h>
#include "gen_qscilexerspice.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerSpice : public virtual QsciLexerSpice {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexersql.h>
#include "gen_qscilexersql.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerSQL : public virtual QsciLexerSQL {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexertcl.h>
#include "gen_qscilexertcl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerTCL : public virtual QsciLexerTCL {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexertex.h>
#include "gen_qscilexertex.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerTeX : public virtual QsciLexerTeX {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerverilog.h>
#include "gen_qscilexerverilog.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerVerilog : public virtual QsciLexerVerilog {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexervhdl.h>
#include "gen_qscilexervhdl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerVHDL : public virtual QsciLexerVHDL {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qscilexerxml.h>
#include "gen_qscilexerxml.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerXML : public virtual QsciLexerXML {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexeryaml.h>
#include "gen_qscilexeryaml.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerYAML : public virtual QsciLexerYAML {

View File

@ -9,6 +9,10 @@
#include <QTimerEvent>
#include <qscimacro.h>
#include "gen_qscimacro.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciMacro : public virtual QsciMacro {

View File

@ -8,6 +8,10 @@
#include <QSizeF>
#include <qsciprinter.h>
#include "gen_qsciprinter.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciPrinter : public virtual QsciPrinter {

View File

@ -33,6 +33,10 @@
#include <QWidget>
#include <qsciscintilla.h>
#include "gen_qsciscintilla.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciScintilla : public virtual QsciScintilla {

View File

@ -33,6 +33,10 @@
#include <QWidget>
#include <qsciscintillabase.h>
#include "gen_qsciscintillabase.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciScintillaBase : public virtual QsciScintillaBase {

View File

@ -5,6 +5,10 @@
#include <cstring>
#include <qscistyle.h>
#include "gen_qscistyle.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
QsciStyle* QsciStyle_new() {

View File

@ -3,6 +3,10 @@
#include <cstring>
#include <qscistyledtext.h>
#include "gen_qscistyledtext.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
QsciStyledText* QsciStyledText_new(struct miqt_string text, int style) {

View File

@ -10,6 +10,10 @@
#include <QTimerEvent>
#include <qsciabstractapis.h>
#include "gen_qsciabstractapis.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciAbstractAPIs : public virtual QsciAbstractAPIs {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qsciapis.h>
#include "gen_qsciapis.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciAPIs : public virtual QsciAPIs {

View File

@ -3,6 +3,10 @@
#include <cstring>
#include <qscicommand.h>
#include "gen_qscicommand.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
int QsciCommand_Command(const QsciCommand* self) {

View File

@ -2,6 +2,10 @@
#include <QSettings>
#include <qscicommandset.h>
#include "gen_qscicommandset.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
bool QsciCommandSet_ReadSettings(QsciCommandSet* self, QSettings* qs) {

View File

@ -1,5 +1,9 @@
#include <qscidocument.h>
#include "gen_qscidocument.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
QsciDocument* QsciDocument_new() {

View File

@ -13,6 +13,10 @@
#include <QTimerEvent>
#include <qscilexer.h>
#include "gen_qscilexer.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexer : public virtual QsciLexer {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexeravs.h>
#include "gen_qscilexeravs.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerAVS : public virtual QsciLexerAVS {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerbash.h>
#include "gen_qscilexerbash.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerBash : public virtual QsciLexerBash {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerbatch.h>
#include "gen_qscilexerbatch.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerBatch : public virtual QsciLexerBatch {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercmake.h>
#include "gen_qscilexercmake.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCMake : public virtual QsciLexerCMake {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercoffeescript.h>
#include "gen_qscilexercoffeescript.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCoffeeScript : public virtual QsciLexerCoffeeScript {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercpp.h>
#include "gen_qscilexercpp.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCPP : public virtual QsciLexerCPP {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qscilexercsharp.h>
#include "gen_qscilexercsharp.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCSharp : public virtual QsciLexerCSharp {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercss.h>
#include "gen_qscilexercss.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCSS : public virtual QsciLexerCSS {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexercustom.h>
#include "gen_qscilexercustom.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerCustom : public virtual QsciLexerCustom {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerd.h>
#include "gen_qscilexerd.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerD : public virtual QsciLexerD {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerdiff.h>
#include "gen_qscilexerdiff.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerDiff : public virtual QsciLexerDiff {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexeredifact.h>
#include "gen_qscilexeredifact.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerEDIFACT : public virtual QsciLexerEDIFACT {

View File

@ -5,6 +5,10 @@
#include <cstring>
#include <qscilexerfortran.h>
#include "gen_qscilexerfortran.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerFortran : public virtual QsciLexerFortran {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerfortran77.h>
#include "gen_qscilexerfortran77.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerFortran77 : public virtual QsciLexerFortran77 {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerhtml.h>
#include "gen_qscilexerhtml.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerHTML : public virtual QsciLexerHTML {

View File

@ -6,6 +6,10 @@
#include <cstring>
#include <qscilexeridl.h>
#include "gen_qscilexeridl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerIDL : public virtual QsciLexerIDL {

View File

@ -5,6 +5,10 @@
#include <cstring>
#include <qscilexerjava.h>
#include "gen_qscilexerjava.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerJava : public virtual QsciLexerJava {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qscilexerjavascript.h>
#include "gen_qscilexerjavascript.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerJavaScript : public virtual QsciLexerJavaScript {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerjson.h>
#include "gen_qscilexerjson.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerJSON : public virtual QsciLexerJSON {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerlua.h>
#include "gen_qscilexerlua.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerLua : public virtual QsciLexerLua {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexermakefile.h>
#include "gen_qscilexermakefile.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerMakefile : public virtual QsciLexerMakefile {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexermarkdown.h>
#include "gen_qscilexermarkdown.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerMarkdown : public virtual QsciLexerMarkdown {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexermatlab.h>
#include "gen_qscilexermatlab.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerMatlab : public virtual QsciLexerMatlab {

View File

@ -5,6 +5,10 @@
#include <cstring>
#include <qscilexeroctave.h>
#include "gen_qscilexeroctave.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
QsciLexerOctave* QsciLexerOctave_new() {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpascal.h>
#include "gen_qscilexerpascal.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPascal : public virtual QsciLexerPascal {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerperl.h>
#include "gen_qscilexerperl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPerl : public virtual QsciLexerPerl {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpo.h>
#include "gen_qscilexerpo.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPO : public virtual QsciLexerPO {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpostscript.h>
#include "gen_qscilexerpostscript.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPostScript : public virtual QsciLexerPostScript {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpov.h>
#include "gen_qscilexerpov.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPOV : public virtual QsciLexerPOV {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerproperties.h>
#include "gen_qscilexerproperties.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerProperties : public virtual QsciLexerProperties {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerpython.h>
#include "gen_qscilexerpython.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerPython : public virtual QsciLexerPython {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerruby.h>
#include "gen_qscilexerruby.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerRuby : public virtual QsciLexerRuby {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerspice.h>
#include "gen_qscilexerspice.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerSpice : public virtual QsciLexerSpice {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexersql.h>
#include "gen_qscilexersql.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerSQL : public virtual QsciLexerSQL {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexertcl.h>
#include "gen_qscilexertcl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerTCL : public virtual QsciLexerTCL {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexertex.h>
#include "gen_qscilexertex.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerTeX : public virtual QsciLexerTeX {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexerverilog.h>
#include "gen_qscilexerverilog.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerVerilog : public virtual QsciLexerVerilog {

View File

@ -9,6 +9,10 @@
#include <cstring>
#include <qscilexervhdl.h>
#include "gen_qscilexervhdl.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerVHDL : public virtual QsciLexerVHDL {

View File

@ -7,6 +7,10 @@
#include <cstring>
#include <qscilexerxml.h>
#include "gen_qscilexerxml.h"
#ifndef _Bool
#define _Bool bool
#endif
#include "_cgo_export.h"
class MiqtVirtualQsciLexerXML : public virtual QsciLexerXML {

Some files were not shown because too many files have changed in this diff Show More