goStart #53
11
lib.go
11
lib.go
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue