Skip to main content

laminar_open

Function laminar_open 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn laminar_open( out: *mut *mut LaminarConnection, ) -> i32
Expand description

Open a new database connection.

§Arguments

  • out - Pointer to receive the connection handle

§Returns

LAMINAR_OK on success, or an error code. On error, call laminar_last_error() for details.

§Safety

out must be a valid pointer to a *mut LaminarConnection.