We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b89880c commit 725adbaCopy full SHA for 725adba
src/clang.rs
@@ -349,9 +349,7 @@ impl Cursor {
349
350
/// Get the signed constant value for this cursor's enum variant referent.
351
///
352
- /// Returns `LLONG_MIN` if the cursor's referent is not an enum variant,
353
- /// which is also a valid enum value, so callers should check the cursor
354
- /// kind before calling this method (see issue #127).
+ /// Returns None if the cursor's referent is not an enum variant.
355
pub fn enum_val_signed(&self) -> Option<i64> {
356
unsafe {
357
if self.kind() == CXCursor_EnumConstantDecl {
0 commit comments