Skip to main content

has_c_attribute

Function has_c_attribute 

Source
pub fn has_c_attribute(name: &str) -> u64
Expand description

The value __has_c_attribute(name) answers with.

C23 6.10.1p6 wants the revision that added the attribute; every one this crate honours arrived with C23 itself, so 202311L is the honest answer, and everything else is 0.