mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
60 lines
1.4 KiB
Go
60 lines
1.4 KiB
Go
package qt6
|
|
|
|
/*
|
|
|
|
#include "gen_qstringtokenizer.h"
|
|
#include <stdlib.h>
|
|
|
|
*/
|
|
import "C"
|
|
|
|
import (
|
|
"unsafe"
|
|
)
|
|
|
|
type QStringTokenizerBaseBase struct {
|
|
h *C.QStringTokenizerBaseBase
|
|
isSubclass bool
|
|
}
|
|
|
|
func (this *QStringTokenizerBaseBase) cPointer() *C.QStringTokenizerBaseBase {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return this.h
|
|
}
|
|
|
|
func (this *QStringTokenizerBaseBase) UnsafePointer() unsafe.Pointer {
|
|
if this == nil {
|
|
return nil
|
|
}
|
|
return unsafe.Pointer(this.h)
|
|
}
|
|
|
|
// newQStringTokenizerBaseBase constructs the type using only CGO pointers.
|
|
func newQStringTokenizerBaseBase(h *C.QStringTokenizerBaseBase) *QStringTokenizerBaseBase {
|
|
if h == nil {
|
|
return nil
|
|
}
|
|
return &QStringTokenizerBaseBase{h: h}
|
|
}
|
|
|
|
// UnsafeNewQStringTokenizerBaseBase constructs the type using only unsafe pointers.
|
|
func UnsafeNewQStringTokenizerBaseBase(h unsafe.Pointer) *QStringTokenizerBaseBase {
|
|
if h == nil {
|
|
return nil
|
|
}
|
|
|
|
return &QStringTokenizerBaseBase{h: (*C.QStringTokenizerBaseBase)(h)}
|
|
}
|
|
|
|
// NewQStringTokenizerBaseBase constructs a new QStringTokenizerBaseBase object.
|
|
func NewQStringTokenizerBaseBase(param1 *QStringTokenizerBaseBase) *QStringTokenizerBaseBase {
|
|
var outptr_QStringTokenizerBaseBase *C.QStringTokenizerBaseBase = nil
|
|
|
|
C.QStringTokenizerBaseBase_new(param1.cPointer(), &outptr_QStringTokenizerBaseBase)
|
|
ret := newQStringTokenizerBaseBase(outptr_QStringTokenizerBaseBase)
|
|
ret.isSubclass = true
|
|
return ret
|
|
}
|