goStart #53

Merged
sarah merged 3 commits from goStart into trunk 2021-06-15 18:07:04 +00:00
1 changed files with 0 additions and 11 deletions
Showing only changes of commit 00c5412551 - Show all commits

11
lib.go
View File

@ -341,17 +341,6 @@ func c_CreateProfile(nick_ptr *C.char, nick_len C.int, pass_ptr *C.char, pass_le
func CreateProfile(nick, pass string) {
application.CreatePeer(nick, pass)
}
/*
//export c_SelectProfile
func c_SelectProfile(onion_ptr *C.char, onion_len C.int) *C.char {
return C.CString(SelectProfile(C.GoStringN(onion_ptr, onion_len)))
}
func SelectProfile(onion string) string {
contactEventsQueue = event.NewQueue()
application.GetEventBus(onion).Subscribe(event.PeerStateChange, contactEventsQueue)
return ""
}*/
//export c_LoadProfiles
func c_LoadProfiles(passwordPtr *C.char, passwordLen C.int) {