Function

GomCustomMigrationFunc

Declaration

DexFuture*
(* GomCustomMigrationFunc) (
  GomDriver* driver,
  gpointer user_data
)

Description

This callback is used by the GomCustomMigration to perform custom operations. It is an alternative to subclassing GomMigration directly.

Parameters

driver

Type: GomDriver

A GomDriver.

The data is owned by the caller of the function.
user_data

Type: gpointer

User data provided when registering the callback.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: DexFuture

A DexFuture that resolves to any value or rejects with error.

The caller of the function takes ownership of the data, and is responsible for freeing it.