pub struct CoreApi { /* private fields */ }Expand description
Raw C ABI for GeoKernel.Core. Loaded modules remain resident until process exit.
Implementations§
Source§impl CoreApi
impl CoreApi
pub const SYMBOLS: &'static [&'static str]
Sourcepub unsafe fn load(path: &Path) -> Result<Self, LoadError>
pub unsafe fn load(path: &Path) -> Result<Self, LoadError>
Load a trusted, ABI-compatible GeoKernel runtime module.
§Safety
Library initializers must be safe and every symbol must match this SDK ABI.
Sourcepub unsafe fn GeoKernelAgentProvenance_AppendJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *mut WChar,
a3: i32,
) -> i32
pub unsafe fn GeoKernelAgentProvenance_AppendJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32
Native declaration: int GeoKernelAgentProvenance_AppendJson(void* store,const wchar_t* json,wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAgentProvenance_Create(&self) -> *mut c_void
pub unsafe fn GeoKernelAgentProvenance_Create(&self) -> *mut c_void
Native declaration: void* GeoKernelAgentProvenance_Create().
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAgentProvenance_Destroy(&self, a0: *mut c_void)
pub unsafe fn GeoKernelAgentProvenance_Destroy(&self, a0: *mut c_void)
Native declaration: void GeoKernelAgentProvenance_Destroy(void* store).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAgentProvenance_ExportJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelAgentProvenance_ExportJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelAgentProvenance_ExportJson(void* store,wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelAgentProvenance_LastError(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelAgentProvenance_LastError( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelAgentProvenance_LastError(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelFeatureBatch_Destroy(&self, a0: *mut c_void)
pub unsafe fn GeoKernelFeatureBatch_Destroy(&self, a0: *mut c_void)
Native declaration: void GeoKernelFeatureBatch_Destroy(void* batch).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelFeatureBatch_FromJson(
&self,
a0: *const WChar,
) -> *mut c_void
pub unsafe fn GeoKernelFeatureBatch_FromJson( &self, a0: *const WChar, ) -> *mut c_void
Native declaration: void* GeoKernelFeatureBatch_FromJson(const wchar_t* json).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelFeatureBatch_LastError(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelFeatureBatch_LastError( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelFeatureBatch_LastError(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelFeatureBatch_RowCount(&self, a0: *mut c_void) -> i64
pub unsafe fn GeoKernelFeatureBatch_RowCount(&self, a0: *mut c_void) -> i64
Native declaration: long long GeoKernelFeatureBatch_RowCount(void* batch).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelFeatureBatch_ToJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelFeatureBatch_ToJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelFeatureBatch_ToJson(void* batch,wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelGisOperation_CatalogJson(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelGisOperation_CatalogJson( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelGisOperation_CatalogJson(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelGisOperation_LastError(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelGisOperation_LastError( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelGisOperation_LastError(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelGisOperation_NormalizeJson(
&self,
a0: *const WChar,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelGisOperation_NormalizeJson( &self, a0: *const WChar, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelGisOperation_NormalizeJson(const wchar_t* json,wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelGisOperation_ValidateJson(
&self,
a0: *const WChar,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelGisOperation_ValidateJson( &self, a0: *const WChar, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelGisOperation_ValidateJson(const wchar_t* json,wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelGisOperation_ValidationLastError(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelGisOperation_ValidationLastError( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelGisOperation_ValidationLastError(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelNaturalLanguagePlan_EvaluateProposalJson(
&self,
a0: *const WChar,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelNaturalLanguagePlan_EvaluateProposalJson( &self, a0: *const WChar, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelNaturalLanguagePlan_EvaluateProposalJson(const wchar_t* json,wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelNaturalLanguagePlan_LastError(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelNaturalLanguagePlan_LastError( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelNaturalLanguagePlan_LastError(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelNaturalLanguagePlan_SystemContract(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelNaturalLanguagePlan_SystemContract( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelNaturalLanguagePlan_SystemContract(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelOperation_ContextSize(&self) -> u32
pub unsafe fn GeoKernelOperation_ContextSize(&self) -> u32
Native declaration: uint32_t GeoKernelOperation_ContextSize(void).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelOperation_ContextVersion(&self) -> u32
pub unsafe fn GeoKernelOperation_ContextVersion(&self) -> u32
Native declaration: uint32_t GeoKernelOperation_ContextVersion(void).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelOperation_ValidateContextV1(
&self,
a0: *const GeoKernelOperationContextV1,
) -> i32
pub unsafe fn GeoKernelOperation_ValidateContextV1( &self, a0: *const GeoKernelOperationContextV1, ) -> i32
Native declaration: int GeoKernelOperation_ValidateContextV1(const GeoKernelOperationContextV1* context).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelSpatialEmbeddingIndex_AddJson(
&self,
a0: *mut c_void,
a1: *const WChar,
) -> i32
pub unsafe fn GeoKernelSpatialEmbeddingIndex_AddJson( &self, a0: *mut c_void, a1: *const WChar, ) -> i32
Native declaration: int GeoKernelSpatialEmbeddingIndex_AddJson(void* index,const wchar_t* recordJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelSpatialEmbeddingIndex_Create(
&self,
a0: i32,
a1: i32,
) -> *mut c_void
pub unsafe fn GeoKernelSpatialEmbeddingIndex_Create( &self, a0: i32, a1: i32, ) -> *mut c_void
Native declaration: void* GeoKernelSpatialEmbeddingIndex_Create(int dimensions,int signatureBits).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelSpatialEmbeddingIndex_Destroy(&self, a0: *mut c_void)
pub unsafe fn GeoKernelSpatialEmbeddingIndex_Destroy(&self, a0: *mut c_void)
Native declaration: void GeoKernelSpatialEmbeddingIndex_Destroy(void* index).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelSpatialEmbeddingIndex_LastError(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelSpatialEmbeddingIndex_LastError( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelSpatialEmbeddingIndex_LastError(wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelSpatialEmbeddingIndex_QueryJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *mut WChar,
a3: i32,
) -> i32
pub unsafe fn GeoKernelSpatialEmbeddingIndex_QueryJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32
Native declaration: int GeoKernelSpatialEmbeddingIndex_QueryJson(void* index,const wchar_t* queryJson,wchar_t* buffer,int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalIndex_CapabilitiesJson(
&self,
a0: *mut c_void,
a1: *mut WChar,
a2: i32,
) -> i32
pub unsafe fn GeoKernelTemporalIndex_CapabilitiesJson( &self, a0: *mut c_void, a1: *mut WChar, a2: i32, ) -> i32
Native declaration: int GeoKernelTemporalIndex_CapabilitiesJson(void* index, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalIndex_Create(
&self,
a0: *mut c_void,
a1: *const WChar,
) -> *mut c_void
pub unsafe fn GeoKernelTemporalIndex_Create( &self, a0: *mut c_void, a1: *const WChar, ) -> *mut c_void
Native declaration: void* GeoKernelTemporalIndex_Create(void* featureBatch, const wchar_t* optionsJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalIndex_Destroy(&self, a0: *mut c_void)
pub unsafe fn GeoKernelTemporalIndex_Destroy(&self, a0: *mut c_void)
Native declaration: void GeoKernelTemporalIndex_Destroy(void* index).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalIndex_LastError(
&self,
a0: *mut WChar,
a1: i32,
) -> i32
pub unsafe fn GeoKernelTemporalIndex_LastError( &self, a0: *mut WChar, a1: i32, ) -> i32
Native declaration: int GeoKernelTemporalIndex_LastError(wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalIndex_QueryJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *mut WChar,
a3: i32,
) -> i32
pub unsafe fn GeoKernelTemporalIndex_QueryJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32
Native declaration: int GeoKernelTemporalIndex_QueryJson(void* index, const wchar_t* rangeJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalPlayback_CommandJson(
&self,
a0: *mut c_void,
a1: *const WChar,
a2: *mut WChar,
a3: i32,
) -> i32
pub unsafe fn GeoKernelTemporalPlayback_CommandJson( &self, a0: *mut c_void, a1: *const WChar, a2: *mut WChar, a3: i32, ) -> i32
Native declaration: int GeoKernelTemporalPlayback_CommandJson(void* controller, const wchar_t* commandJson, wchar_t* buffer, int bufferLength).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalPlayback_Create(
&self,
a0: *const WChar,
) -> *mut c_void
pub unsafe fn GeoKernelTemporalPlayback_Create( &self, a0: *const WChar, ) -> *mut c_void
Native declaration: void* GeoKernelTemporalPlayback_Create(const wchar_t* optionsJson).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.
Sourcepub unsafe fn GeoKernelTemporalPlayback_Destroy(&self, a0: *mut c_void)
pub unsafe fn GeoKernelTemporalPlayback_Destroy(&self, a0: *mut c_void)
Native declaration: void GeoKernelTemporalPlayback_Destroy(void* controller).
§Safety
Obey the native pointer, ownership, buffer, thread, and callback contracts.