encoding_c icon indicating copy to clipboard operation
encoding_c copied to clipboard

C bindings for encoding_rs

Results 4 encoding_c issues
Sort by recently updated
recently updated
newest added

Noticed that this library does some tricks that are unidiomatic for C++. I'll post a minimal example. ```cpp // library.h #ifdef __cplusplus #define ENCODING_RS_ENCODING CppEncoding class CppEncoding { //no data...

With webrender we're using https://github.com/rlhunt/cbindgen/ instead of rusty-cheddar to generating bindings. I'd be interested in knowing if using cbindgen works for you and if not why.

The FFI bindings in this library are missing null checks and panic handlers that would avoid undefined behavior. The documentation does warn users about conditions that will trigger undefined behavior,...