[][src]Function realsense_sys::rs2_create_context

pub unsafe extern "C" fn rs2_create_context(
    api_version: c_int,
    error: *mut *mut rs2_error
) -> *mut rs2_context

\brief Creates RealSense context that is required for the rest of the API. \param[in] api_version Users are expected to pass their version of \c RS2_API_VERSION to make sure they are running the correct librealsense version. \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored. \return Context object