miqt/qt6/gen_qstringtokenizer.go

60 lines
1.4 KiB
Go
Raw Normal View History

2024-10-20 05:21:03 +00:00
package qt6
/*
#include "gen_qstringtokenizer.h"
#include <stdlib.h>
*/
import "C"
import (
"unsafe"
)
type QStringTokenizerBaseBase struct {
2024-11-19 06:29:06 +00:00
h *C.QStringTokenizerBaseBase
isSubclass bool
2024-10-20 05:21:03 +00:00
}
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)
}
2024-11-19 06:29:06 +00:00
// newQStringTokenizerBaseBase constructs the type using only CGO pointers.
2024-10-20 05:21:03 +00:00
func newQStringTokenizerBaseBase(h *C.QStringTokenizerBaseBase) *QStringTokenizerBaseBase {
if h == nil {
return nil
}
return &QStringTokenizerBaseBase{h: h}
}
2024-11-19 06:29:06 +00:00
// UnsafeNewQStringTokenizerBaseBase constructs the type using only unsafe pointers.
2024-10-20 05:21:03 +00:00
func UnsafeNewQStringTokenizerBaseBase(h unsafe.Pointer) *QStringTokenizerBaseBase {
2024-11-19 06:29:06 +00:00
if h == nil {
return nil
}
return &QStringTokenizerBaseBase{h: (*C.QStringTokenizerBaseBase)(h)}
2024-10-20 05:21:03 +00:00
}
// NewQStringTokenizerBaseBase constructs a new QStringTokenizerBaseBase object.
func NewQStringTokenizerBaseBase(param1 *QStringTokenizerBaseBase) *QStringTokenizerBaseBase {
2024-11-19 06:29:06 +00:00
var outptr_QStringTokenizerBaseBase *C.QStringTokenizerBaseBase = nil
C.QStringTokenizerBaseBase_new(param1.cPointer(), &outptr_QStringTokenizerBaseBase)
ret := newQStringTokenizerBaseBase(outptr_QStringTokenizerBaseBase)
ret.isSubclass = true
return ret
2024-10-20 05:21:03 +00:00
}