miqt/qt6/gen_qvarlengtharray.go
2024-10-21 19:10:31 +13:00

55 lines
893 B
Go

package qt6
/*
#include "gen_qvarlengtharray.h"
#include <stdlib.h>
*/
import "C"
import (
"unsafe"
)
type QVLABaseBase struct {
h *C.QVLABaseBase
}
func (this *QVLABaseBase) cPointer() *C.QVLABaseBase {
if this == nil {
return nil
}
return this.h
}
func (this *QVLABaseBase) UnsafePointer() unsafe.Pointer {
if this == nil {
return nil
}
return unsafe.Pointer(this.h)
}
func newQVLABaseBase(h *C.QVLABaseBase) *QVLABaseBase {
if h == nil {
return nil
}
return &QVLABaseBase{h: h}
}
func UnsafeNewQVLABaseBase(h unsafe.Pointer) *QVLABaseBase {
return newQVLABaseBase((*C.QVLABaseBase)(h))
}
func (this *QVLABaseBase) Capacity() int64 {
return (int64)(C.QVLABaseBase_Capacity(this.h))
}
func (this *QVLABaseBase) Size() int64 {
return (int64)(C.QVLABaseBase_Size(this.h))
}
func (this *QVLABaseBase) Empty() bool {
return (bool)(C.QVLABaseBase_Empty(this.h))
}