mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
39 lines
698 B
Go
39 lines
698 B
Go
|
package qt
|
||
|
|
||
|
/*
|
||
|
|
||
|
#cgo CFLAGS: -fPIC
|
||
|
#cgo pkg-config: Qt5Widgets
|
||
|
#include "gen_qstringbuilder.h"
|
||
|
#include <stdlib.h>
|
||
|
|
||
|
*/
|
||
|
import "C"
|
||
|
|
||
|
import (
|
||
|
"unsafe"
|
||
|
)
|
||
|
|
||
|
type QAbstractConcatenable struct {
|
||
|
h *C.QAbstractConcatenable
|
||
|
}
|
||
|
|
||
|
func (this *QAbstractConcatenable) cPointer() *C.QAbstractConcatenable {
|
||
|
if this == nil {
|
||
|
return nil
|
||
|
}
|
||
|
return this.h
|
||
|
}
|
||
|
|
||
|
func newQAbstractConcatenable(h *C.QAbstractConcatenable) *QAbstractConcatenable {
|
||
|
return &QAbstractConcatenable{h: h}
|
||
|
}
|
||
|
|
||
|
func newQAbstractConcatenable_U(h unsafe.Pointer) *QAbstractConcatenable {
|
||
|
return newQAbstractConcatenable((*C.QAbstractConcatenable)(h))
|
||
|
}
|
||
|
|
||
|
func (this *QAbstractConcatenable) Delete() {
|
||
|
C.QAbstractConcatenable_Delete(this.h)
|
||
|
}
|