Mercurial > crates > nonstick
diff src/constants.rs @ 116:a12706e42c9d default tip
Logging, macros, and building:
- Changes logging API to accept the `Location` of the log statement.
Fixes OpenPAM implementation.
- Stops publicly exporting doc macros.
- Uses dlopen to detect the PAM library rather than header jankery.
author | Paul Fisher <paul@pfish.zone> |
---|---|
date | Sun, 29 Jun 2025 18:27:51 -0400 |
parents | 178310336596 |
children |
line wrap: on
line diff
--- a/src/constants.rs Sun Jun 29 03:35:59 2025 -0400 +++ b/src/constants.rs Sun Jun 29 18:27:51 2025 -0400 @@ -6,7 +6,7 @@ #[cfg(feature = "link")] use crate::libpam::pam_ffi; -use crate::{_linklist, _man7, _manbsd, _xsso}; +use crate::{linklist, man7, manbsd, xsso}; use bitflags::bitflags; use libc::c_int; use num_enum::{IntoPrimitive, TryFromPrimitive}; @@ -154,12 +154,12 @@ /// /// # References /// -#[doc = _linklist!(pam: man7, manbsd)] +#[doc = linklist!(pam: man7, manbsd)] /// - [X/SSO error code specification][xsso] /// -#[doc = _man7!(3 pam "RETURN_VALUES")] -#[doc = _manbsd!(3 pam "RETURN%20VALUES")] -#[doc = _xsso!("chap5.htm#tagcjh_06_02")] +#[doc = man7!(3 pam "RETURN_VALUES")] +#[doc = manbsd!(3 pam "RETURN%20VALUES")] +#[doc = xsso!("chap5.htm#tagcjh_06_02")] #[allow(non_camel_case_types, dead_code)] #[derive(Copy, Clone, Debug, PartialEq, TryFromPrimitive, IntoPrimitive)] #[non_exhaustive] // C might give us anything!