miqt/qt/gen_qstringliteral.go

40 lines
584 B
Go
Raw Normal View History

package qt
/*
#include "gen_qstringliteral.h"
#include <stdlib.h>
*/
import "C"
import (
"unsafe"
)
type QStringDataPtr struct {
h *C.QStringDataPtr
}
func (this *QStringDataPtr) cPointer() *C.QStringDataPtr {
if this == nil {
return nil
}
return this.h
}
func newQStringDataPtr(h *C.QStringDataPtr) *QStringDataPtr {
2024-09-01 02:23:55 +00:00
if h == nil {
return nil
}
return &QStringDataPtr{h: h}
}
func newQStringDataPtr_U(h unsafe.Pointer) *QStringDataPtr {
return newQStringDataPtr((*C.QStringDataPtr)(h))
}
func (this *QStringDataPtr) Delete() {
C.QStringDataPtr_Delete(this.h)
}