Trying very hard not to miss calendar events
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Generate constants with bindgen

Co-authored-by: Claude <noreply@anthropic.com>

+14 -2
+11
src/constants.rs
··· 1 + // Constants from Evolution Data Server C headers 2 + // 3 + // To regenerate, run: 4 + // bindgen /usr/include/evolution-data-server/libedataserver/libedataserver.h \ 5 + // --allowlist-var E_SOURCE_EXTENSION_CALENDAR --no-layout-tests \ 6 + // -- $(pkg-config --cflags libedataserver-1.2) \ 7 + // > src/constants.rs 8 + 9 + /* automatically generated by rust-bindgen 0.72.1 */ 10 + 11 + pub const E_SOURCE_EXTENSION_CALENDAR: &[u8; 9] = b"Calendar\0";
+2 -2
src/ffi.rs
··· 105 105 unsafe { g_object_unref(ptr) } 106 106 } 107 107 108 - // Constants 109 - pub const E_SOURCE_EXTENSION_CALENDAR: &[u8] = b"Calendar\0"; 108 + // Generated constants from C headers 109 + pub use crate::constants::*;
+1
src/main.rs
··· 1 + mod constants; 1 2 mod eds; 2 3 mod ffi; 3 4