suil_host_new — Suil 0.10.18 documentation

# suil_host_new

SuilHost *suil_host_new(SuilPortWriteFunc write_func, SuilPortIndexFunc index_func, SuilPortSubscribeFunc subscribe_func, SuilPortUnsubscribeFunc unsubscribe_func)

  Create a new UI host descriptor.

  Parameters:

    - write_func – Function to send a value to a plugin port.

    - index_func – Function to get the index for a port by symbol.

    - subscribe_func – Function to subscribe to port updates.

    - unsubscribe_func – Function to unsubscribe from port updates.