dksdk_ffi_c/test.h

Functions

DKSDK_FFI_C_EXPORT int dksdk_ffi_c_test_oid_generate_DO_NOT_USE_IN_PRODUCTION(const dksdk_ffi_uuid *clsid, dksdk_ffi_uuid *oid, void *oidGenerateData)

A deterministic OID generator.

Not for use in a production system.

DKSDK_FFI_C_EXPORT int dksdk_ffi_c_test_POSIX_FILE_register(struct dksdk_ffi *ffi)

Registers the Posix::FILE and Posix::FILE::Readonly classes into the DkSDK FFI registry.

Returns:

DKSDK_FFI_OK on success

DKSDK_FFI_C_EXPORT int dksdk_ffi_c_test_POSIX_FILE_unregister(struct dksdk_ffi *ffi)

Unregisters the Posix::FILE and Posix::FILE::Readonly classes from the DkSDK FFI registry.

Returns:

DKSDK_FFI_OK on success

DKSDK_FFI_C_EXPORT int dksdk_ffi_c_test_ToyCalculations_register(struct dksdk_ffi *ffi)

Registers the *(uint32 a, uint32 b) and ToyCalculations classes into the DkSDK FFI registry.

Returns:

DKSDK_FFI_OK on success

DKSDK_FFI_C_EXPORT int dksdk_ffi_c_test_ToyCalculations_unregister(struct dksdk_ffi *ffi)

Unregisters the *(uint32 a, uint32 b) and ToyCalculations classes from the DkSDK FFI registry.

Returns:

DKSDK_FFI_OK on success