taskchampion icon indicating copy to clipboard operation
taskchampion copied to clipboard

Use `ffizz` to build taskchampion-lib

Open djmitche opened this issue 2 years ago • 3 comments

  • https://docs.rs/ffizz-header/latest/ffizz_header/ to generate taskchampion.h
  • https://docs.rs/ffizz-string/latest/ffizz_string/ to replace TCString
  • https://docs.rs/ffizz-passby/latest/ffizz_passby/ to handle data types other than string

Also, let's rename the C types from things like TCString, TCTask, etc. to tc_string_t, tc_task_t, etc., as that will make room for C++ wrappers with names like TCString, TCTask, etc. in Taskwarrior.

djmitche avatar Feb 04 '23 03:02 djmitche

WIP in https://github.com/djmitche/taskwarrior/pull/new/issue3059 (on top of the add-rust branch)

djmitche avatar Feb 04 '23 03:02 djmitche

GothenburgBitFactory/taskwarrior#3114 partially addresses this.

djmitche avatar Jun 19 '23 16:06 djmitche

This isn't required for 3.0

djmitche avatar Nov 23 '23 13:11 djmitche

The FFI story has changed a bit, now. We're still using ffizz-header, but I don't think using ffizz-string et al. is a good idea.

djmitche avatar Jun 01 '24 17:06 djmitche