MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / graphlite_close

Function graphlite_close

graphlite-ffi/src/lib.rs:383–389  ·  view source on GitHub ↗
(db: *mut GraphLiteDB)

Source from the content-addressed store, hash-verified

381/// * Must not be used after calling this function
382#[no_mangle]
383pub unsafe extern "C" fn graphlite_close(db: *mut GraphLiteDB) {
384 if !db.is_null() {
385 unsafe {
386 drop(Box::from_raw(db));
387 }
388 }
389}
390
391/// Get the version string of GraphLite
392///

Callers 1

test_open_closeFunction · 0.85

Calls 1

is_nullMethod · 0.80

Tested by 1

test_open_closeFunction · 0.68