From 00c5412551097382558be4e12357ce8056396c1e Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 15 Jun 2021 10:20:12 -0700 Subject: [PATCH] finish removing unused code (getACNEvents, getContactEvents, getRepaintEvent, SelectProfile --- lib.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib.go b/lib.go index 200d6ac..87fe716 100644 --- a/lib.go +++ b/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) {