Crate dds_bridge_sys

source ·
Expand description

Generated bindings to dds-bridge/dds, the C++ double dummy solver for contract bridge.

This library needs manual initialization! Initialize the thread pool with SetMaxThreads before calling other functions.

use dds_bridge_sys as dds;
// 0 stands for automatic configuration
unsafe { dds::SetMaxThreads(0) };

Also note that functions using the thread pool are not reentrant. You may want to use a mutex to ensure that only one thread is using the thread pool.

Structs§

Constants§

Statics§

Functions§

Type Aliases§