mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
49 lines
1.0 KiB
Go
49 lines
1.0 KiB
Go
|
package qt6
|
||
|
|
||
|
/*
|
||
|
|
||
|
#include "gen_qstringtokenizer.h"
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
*/
|
||
|
import "C"
|
||
|
|
||
|
import (
|
||
|
"unsafe"
|
||
|
)
|
||
|
|
||
|
type QStringTokenizerBaseBase struct {
|
||
|
h *C.QStringTokenizerBaseBase
|
||
|
}
|
||
|
|
||
|
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)
|
||
|
}
|
||
|
|
||
|
func newQStringTokenizerBaseBase(h *C.QStringTokenizerBaseBase) *QStringTokenizerBaseBase {
|
||
|
if h == nil {
|
||
|
return nil
|
||
|
}
|
||
|
return &QStringTokenizerBaseBase{h: h}
|
||
|
}
|
||
|
|
||
|
func UnsafeNewQStringTokenizerBaseBase(h unsafe.Pointer) *QStringTokenizerBaseBase {
|
||
|
return newQStringTokenizerBaseBase((*C.QStringTokenizerBaseBase)(h))
|
||
|
}
|
||
|
|
||
|
// NewQStringTokenizerBaseBase constructs a new QStringTokenizerBaseBase object.
|
||
|
func NewQStringTokenizerBaseBase(param1 *QStringTokenizerBaseBase) *QStringTokenizerBaseBase {
|
||
|
ret := C.QStringTokenizerBaseBase_new(param1.cPointer())
|
||
|
return newQStringTokenizerBaseBase(ret)
|
||
|
}
|