C-bindings for the Go Cwtch Library https://cwtch.im
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Sarah Jamie Lewis d93cb45052 Merge pull request 'library cleanup (partially sugested from rust libcwtch work)' (#22) from cleanup into trunk 2 months ago
constants Distinguish between deletion and archiving 2 months ago
features move package and imports from flutter to cwtch.im reflecting actual package and home now 3 months ago
utils Enable Contact Attribute Event Updates 2 months ago
.drone.yml new buildifles host 3 months ago
.gitignore Build ios 3 months ago
BUILDING_DEBUG.md Fresh Repository Commit - Cwtch Beta 4 months ago
LICENSE mit license 4 months ago
MEMORY.md Clarify Memory Ownership Model of libCwtch and Callers 2 months ago
Makefile add macos target to makefile 3 months ago
README.md experimental ios comments and notes 3 months ago
clangwrap.sh Build ios 3 months ago
go.mod Distinguish between deletion and archiving 2 months ago
go.sum Distinguish between deletion and archiving 2 months ago
lib.go library cleanup: StartCwtch return C.int (consistancy); delete unused event queues (mem leak?); add needed APIs and deprecate SendEvent counterparts 2 months ago
quality.sh Fresh Repository Commit - Cwtch Beta 4 months ago
switch-ffi.sh switch swtich-*.sh back to sed now with -i.bak and rm lib.go.bak for compatibility with macos 3 months ago
switch-gomobile.sh switch swtich-*.sh back to sed now with -i.bak and rm lib.go.bak for compatibility with macos 3 months ago

README.md

libcwtch-go

C-bindings for the Go Cwtch Library.

Build Instructions

make linux
make android
make windows

Experimental iOS support

make ios

Using

Linux Desktop:

  • LD_LIBRARY_PATH set to point to libCwtch.so
  • or drop a symlink into /usr/lib

Android

  • copy cwtch.aar into flutter_app/android/cwtch

Windows

  • copy libCwtch.dll into the directory of the .exe using it