# cbindgen configuration for the engine-internal C surface. # # Output: include/updater_engine.h — consumed only by Shorebird's Flutter # engine fork. No stability guarantee; both sides ship together as part of # the engine, so this surface changes freely as the engine integration # evolves. # # build.rs runs cbindgen with `with_src("src/c_api/engine.rs")`, so cbindgen # scans exactly that one file and emits the `pub extern "C"` items it # defines plus the types they reference. Items defined in # `src/c_api/dart.rs` cannot leak into this header. No exclude/include # lists needed. # # See https://github.com/eqrion/cbindgen/blob/master/docs.md#cbindgentoml language = "C" include_guard = "updater_engine_h" autogen_warning = "/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */" cpp_compat = true line_length = 80 after_includes = """ #ifdef _WIN32 #define SHOREBIRD_EXPORT __declspec(dllexport) #else #define SHOREBIRD_EXPORT __attribute__((visibility("default"))) #endif """ [fn] prefix = "SHOREBIRD_EXPORT"