Function demes::ffi::demes_pulse_source

source ·
#[no_mangle]
pub extern "C" fn demes_pulse_source(
    pulse: &Pulse,
    at: usize
) -> *mut c_char
Expand description

Get the source deme of a Pulse.

§Parameters

  • at the index of the pulse.

§Returns

  • The name of a source deme if at is in range.
  • A NULL pointer otherwise.

§Notes