logo
pub fn add_double_to_started_message(value: f64)
Expand description

Adds an f64 to the current message in the progress of composition

Example

use libpd_rs::send::{start_message, add_double_to_started_message};

libpd_rs::init();

// Arbitrary length
let message_length = 4;
if start_message(message_length).is_ok() {
  add_double_to_started_message(42.0);
}

Panics

To be honest I’d expect this to panic if you overflow a message buffer.

Although I didn’t check that, please create an issue.