ldk_system_registry_system_data_get
Get the system registry system data.
LDK_API void * ldk_system_registry_system_data_get(
const LDKSystemRegistry *registry,
u64 id
);
Parameters
const LDKSystemRegistry *registry
- Registry on which the operation is performed.
u64 id
- Identifier of the target object.
Returns
Pointer to the requested object or data; NULL when unavailable.
ldk_system_registry_system_data_set
Bind scene-owned system instance data. The registry never allocates or frees
this pointer. Data cannot be replaced while the system is initialized.
Passing NULL unbinds the current instance.
LDK_API bool ldk_system_registry_system_data_set(
LDKSystemRegistry *registry,
u64 id,
void *data
);
Parameters
LDKSystemRegistry *registry
- Registry on which the operation is performed.
u64 id
- Identifier of the target object.
void *data
- Source data or system-owned context for this operation.
Returns
True if the operation succeeds; false otherwise.