fn update_axis_pts_address<'a>(
    axis_pts: &mut AxisPts,
    debug_data: &'a DebugData
) -> Result<&'a TypeInfo, Vec<String>> {
    match get_symbol_info(
        &axis_pts.name,
        &axis_pts.symbol_link,
        &axis_pts.if_data, debug_data
    ) {
        Ok((address, symbol_datatype, symbol_name)) => {
            // make sure a valid SYMBOL_LINK exists
            set_symbol_link(&mut axis_pts.symbol_link, symbol_name.clone());
            axis_pts.address = address as u32;
            update_ifdata(&mut axis_pts.if_data, symbol_name, symbol_datatype, address);

            Ok(symbol_datatype)
        }
        Err(errmsgs) => Err(errmsgs)
    }
}
// update the address of an AXIS_PTS object
update the address of an AXIS_PTS object
update the address of an AXIS_PTS object
fn update_axis_pts_address<'a>(
    axis_pts: &mut AxisPts,
    debug_data: &'a DebugData
) -> Result<&'a TypeInfo, Vec<String>> {
    match get_symbol_info(
        &axis_pts.name,
        &axis_pts.symbol_link,
        &axis_pts.if_data, debug_data
    ) {
        Ok((address, symbol_datatype, symbol_name)) => {
            // make sure a valid SYMBOL_LINK exists
            set_symbol_link(&mut axis_pts.symbol_link, symbol_name.clone());
            axis_pts.address = address as u32;
            update_ifdata(&mut axis_pts.if_data, symbol_name, symbol_datatype, address);
            Ok(symbol_datatype)
        }
        Err(errmsgs) => Err(errmsgs)
    }
}
fn update_axis_pts_address < ' a > ( axis_pts : & mut AxisPts , debug_data : & ' a DebugData ) -> Result < & ' a TypeInfo , Vec < String > > { match get_symbol_info ( & axis_pts . name , & axis_pts . symbol_link , & axis_pts . if_data , debug_data ) { Ok ( ( address , symbol_datatype , symbol_name ) ) => { // make sure a valid SYMBOL_LINK exists set_symbol_link ( & mut axis_pts . symbol_link , symbol_name . clone ( ) ) ; axis_pts . address = address as u32 ; update_ifdata ( & mut axis_pts . if_data , symbol_name , symbol_datatype , address ) ; Ok ( symbol_datatype ) } Err ( errmsgs ) => Err ( errmsgs ) } }
update the address of an AXIS_PTS object
update the address of an AXIS_PTS object
axis_pts
&mut AxisPts
debug_data
&'a DebugData