diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-24 23:40:18 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-06-24 23:40:18 +0800 |
commit | 1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1 (patch) | |
tree | f7b957645b11bc19ecf7fb29baaa13530557af7a /Godeps/_workspace/src/github.com/obscuren/qml/cpptest/cpptest.go | |
parent | 92ef33d97a437dce2d7b55f06342de388d95f575 (diff) | |
download | go-tangerine-1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1.tar go-tangerine-1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1.tar.gz go-tangerine-1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1.tar.bz2 go-tangerine-1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1.tar.lz go-tangerine-1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1.tar.xz go-tangerine-1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1.tar.zst go-tangerine-1ce40d7581bac2b776d1e47ec49c03c0fcc7fdc1.zip |
Godeps: remove mist remnants, add termui deps
Diffstat (limited to 'Godeps/_workspace/src/github.com/obscuren/qml/cpptest/cpptest.go')
-rw-r--r-- | Godeps/_workspace/src/github.com/obscuren/qml/cpptest/cpptest.go | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Godeps/_workspace/src/github.com/obscuren/qml/cpptest/cpptest.go b/Godeps/_workspace/src/github.com/obscuren/qml/cpptest/cpptest.go deleted file mode 100644 index 4ba24bce0..000000000 --- a/Godeps/_workspace/src/github.com/obscuren/qml/cpptest/cpptest.go +++ /dev/null @@ -1,30 +0,0 @@ -// Package cpptest is an internal test helper. -package cpptest - -// #cgo CXXFLAGS: -std=c++0x -Wall -fno-strict-aliasing -I.. -// #cgo LDFLAGS: -lstdc++ -// -// #cgo pkg-config: Qt5Core -// -// #include "cpptest.h" -// -import "C" - -import ( - "unsafe" - - "gopkg.in/qml.v1" -) - -func NewTestType(engine *qml.Engine) qml.Object { - var obj qml.Object - qml.RunMain(func() { - addr := C.newTestType() - obj = qml.CommonOf(addr, engine) - }) - return obj -} - -func PlainTestTypeN(obj qml.Object) int { - return int(C.plainTestTypeN(unsafe.Pointer(obj.Property("plainAddr").(uintptr)))) -} |