2024-08-25 04:08:24 +00:00
|
|
|
package qt
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
#include "gen_qnamespace.h"
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
*/
|
|
|
|
import "C"
|
|
|
|
|
|
|
|
import (
|
|
|
|
"unsafe"
|
|
|
|
)
|
|
|
|
|
|
|
|
type QInternal struct {
|
|
|
|
h *C.QInternal
|
|
|
|
}
|
|
|
|
|
|
|
|
func (this *QInternal) cPointer() *C.QInternal {
|
|
|
|
if this == nil {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
return this.h
|
|
|
|
}
|
|
|
|
|
|
|
|
func newQInternal(h *C.QInternal) *QInternal {
|
2024-09-01 02:23:55 +00:00
|
|
|
if h == nil {
|
|
|
|
return nil
|
|
|
|
}
|
2024-08-25 04:08:24 +00:00
|
|
|
return &QInternal{h: h}
|
|
|
|
}
|
|
|
|
|
|
|
|
func newQInternal_U(h unsafe.Pointer) *QInternal {
|
|
|
|
return newQInternal((*C.QInternal)(h))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (this *QInternal) Delete() {
|
|
|
|
C.QInternal_Delete(this.h)
|
|
|
|
}
|