diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-14 00:44:18 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-08-14 00:44:18 +0200 |
commit | f826cf9d42cc34e2ae5aaf6ede892ecab9d2f198 (patch) | |
tree | 7555e7596887f239ce26828e98142e4df25c388f /cshared | |
parent | 79087748f60f9aba219624a0fe9f4d33a0b51236 (diff) | |
download | go-git-f826cf9d42cc34e2ae5aaf6ede892ecab9d2f198.tar.gz |
fix tests and examples
Diffstat (limited to 'cshared')
-rw-r--r-- | cshared/remote_cshared.go | 11 | ||||
-rw-r--r-- | cshared/repository_cshared.go | 10 |
2 files changed, 9 insertions, 12 deletions
diff --git a/cshared/remote_cshared.go b/cshared/remote_cshared.go index abed3c9..ee52e41 100644 --- a/cshared/remote_cshared.go +++ b/cshared/remote_cshared.go @@ -1,12 +1,9 @@ // +build ignore package main -import ( - "C" +import "C" - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/clients/common" -) +/* //export c_Remote_get_Endpoint func c_Remote_get_Endpoint(r uint64) *C.char { @@ -189,4 +186,6 @@ func c_Remote_Refs(r uint64) uint64 { remote := obj.(*git.Remote) refs := remote.Refs() return uint64(RegisterObject(refs)) -}
\ No newline at end of file +} + +*/ diff --git a/cshared/repository_cshared.go b/cshared/repository_cshared.go index 8320f98..e11a6c0 100644 --- a/cshared/repository_cshared.go +++ b/cshared/repository_cshared.go @@ -1,13 +1,9 @@ // +build ignore package main -import ( - "C" +import "C" - "gopkg.in/src-d/go-git.v4" - "gopkg.in/src-d/go-git.v4/clients/common" - "gopkg.in/src-d/go-git.v4/core" -) +/* //export c_Repository func c_Repository() uint64 { @@ -232,3 +228,5 @@ func c_Repository_Object(r uint64, h []byte) (uint64, int, *C.char) { robj_handle := RegisterObject(robj) return uint64(robj_handle), ErrorCodeSuccess, nil } + +*/ |