forked from therecipe/qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
qdomcdatasection.go
executable file
·55 lines (43 loc) · 1.25 KB
/
qdomcdatasection.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package xml
//#include "xml.h"
import "C"
import (
"github.com/therecipe/qt"
"unsafe"
)
type QDomCDATASection struct {
QDomText
}
type QDomCDATASection_ITF interface {
QDomText_ITF
QDomCDATASection_PTR() *QDomCDATASection
}
func PointerFromQDomCDATASection(ptr QDomCDATASection_ITF) unsafe.Pointer {
if ptr != nil {
return ptr.QDomCDATASection_PTR().Pointer()
}
return nil
}
func NewQDomCDATASectionFromPointer(ptr unsafe.Pointer) *QDomCDATASection {
var n = new(QDomCDATASection)
n.SetPointer(ptr)
return n
}
func (ptr *QDomCDATASection) QDomCDATASection_PTR() *QDomCDATASection {
return ptr
}
func NewQDomCDATASection() *QDomCDATASection {
defer qt.Recovering("QDomCDATASection::QDomCDATASection")
return NewQDomCDATASectionFromPointer(C.QDomCDATASection_NewQDomCDATASection())
}
func NewQDomCDATASection2(x QDomCDATASection_ITF) *QDomCDATASection {
defer qt.Recovering("QDomCDATASection::QDomCDATASection")
return NewQDomCDATASectionFromPointer(C.QDomCDATASection_NewQDomCDATASection2(PointerFromQDomCDATASection(x)))
}
func (ptr *QDomCDATASection) NodeType() QDomNode__NodeType {
defer qt.Recovering("QDomCDATASection::nodeType")
if ptr.Pointer() != nil {
return QDomNode__NodeType(C.QDomCDATASection_NodeType(ptr.Pointer()))
}
return 0
}