language = "C" pragma_once = true include_guard = "LUMEN_CORE_H" autogen_warning = "/* Generated by cbindgen from lumen-core. Do not edit by hand. */" header = "/* lumen-core C ABI — see crates/lumen-core/src/abi.rs */" style = "type" cpp_compat = true tab_width = 4 documentation = true documentation_style = "c99" [parse] parse_deps = false [export.rename] "InputEvent" = "LumenInputEvent" "InputKind" = "LumenInputKind" # Gamepad wire constants: bare BTN_* names collide with (at # DIFFERENT values — last definition silently wins); prefix everything we export. "BTN_DPAD_UP" = "LUMEN_BTN_DPAD_UP" "BTN_DPAD_DOWN" = "LUMEN_BTN_DPAD_DOWN" "BTN_DPAD_LEFT" = "LUMEN_BTN_DPAD_LEFT" "BTN_DPAD_RIGHT" = "LUMEN_BTN_DPAD_RIGHT" "BTN_START" = "LUMEN_BTN_START" "BTN_BACK" = "LUMEN_BTN_BACK" "BTN_LS_CLICK" = "LUMEN_BTN_LS_CLICK" "BTN_RS_CLICK" = "LUMEN_BTN_RS_CLICK" "BTN_LB" = "LUMEN_BTN_LB" "BTN_RB" = "LUMEN_BTN_RB" "BTN_GUIDE" = "LUMEN_BTN_GUIDE" "BTN_A" = "LUMEN_BTN_A" "BTN_B" = "LUMEN_BTN_B" "BTN_X" = "LUMEN_BTN_X" "BTN_Y" = "LUMEN_BTN_Y" "AXIS_LS_X" = "LUMEN_AXIS_LS_X" "AXIS_LS_Y" = "LUMEN_AXIS_LS_Y" "AXIS_RS_X" = "LUMEN_AXIS_RS_X" "AXIS_RS_Y" = "LUMEN_AXIS_RS_Y" "AXIS_LT" = "LUMEN_AXIS_LT" "AXIS_RT" = "LUMEN_AXIS_RT" "AUDIO_MAGIC" = "LUMEN_AUDIO_MAGIC" "RUMBLE_MAGIC" = "LUMEN_RUMBLE_MAGIC" # QualifiedScreamingSnakeCase already qualifies each variant with the enum name # (LumenStatus::Ok -> LUMEN_STATUS_OK); do NOT also set prefix_with_name or it doubles. [enum] rename_variants = "QualifiedScreamingSnakeCase" [fn] sort_by = "None" [struct] derive_eq = false [defines] "feature = quic" = "LUMEN_FEATURE_QUIC"