mesabox icon indicating copy to clipboard operation
mesabox copied to clipboard

Bindings for calling from C

Open Arcterus opened this issue 6 years ago • 0 comments

It would be nice to be able to call the utilities from C code. We might limit the user to providing raw file descriptors/raw handles as there's no way to have generic bindings. We could also expose RawObject and have the user give those to the interface so we don't need to worry about the platform differences.

We should look at using cbindgen, but if our interface is small enough it might just be easier to maintain it by hand.

Arcterus avatar Aug 02 '18 23:08 Arcterus