Exemple #1
0
 public static extern void keoken_manager_configure_state(IntPtr keokenManager, IntPtr context
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedSetInitialAssetIdHandler setInitialAssetIdHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedResetHandler resetHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedRemoveUpToHandler removeUpToHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedCreateAssetHandler createAssetHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedCreateBalanceEntryHandler createBalanceEntryHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedAssetIdExistsHandler assetIdExistsHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedGetBalanceHandler getBalanceHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedGetAssetsByAddressHandler getAssetsByAddressHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedGetAssetsListHandler getAssetsListHandler
                                                          , [MarshalAs(UnmanagedType.FunctionPtr)] KeokenManagerNativeDelegates.KeokenStateDelegatedGetAllAssetAddressesListHandler getAllAssetAddressesListHandler
                                                          );
        static DelegatedState()
        {
            KeokenStateDelegatedSetInitialAssetIdHandler = KeokenStateDelegatedSetInitialAssetIdHandlerInternal;

            KeokenStateDelegatedRemoveUpToHandler = KeokenStateDelegatedRemoveUpToHandlerInternal;
            KeokenStateDelegatedResetHandler      = KeokenStateDelegatedResetHandlerInternal;

            KeokenStateDelegatedCreateAssetHandler              = KeokenStateDelegatedCreateAssetHandlerInternal;
            KeokenStateDelegatedAssetIdExistsHandler            = KeokenStateDelegatedAssetIdExistsHandlerInternal;
            KeokenStateDelegatedGetAllAssetAddressesListHandler = KeokenStateDelegatedGetAllAssetAddressesListHandlerInternal;
            KeokenStateDelegatedCreateBalanceEntryHandler       = KeokenStateDelegatedCreateBalanceEntryHandlerInternal;
            KeokenStateDelegatedGetAssetsListHandler            = KeokenStateDelegatedGetAssetsListHandlerInternal;
            KeokenStateDelegatedGetAssetsByAddressHandler       = KeokenStateDelegatedGetAssetsByAddressHandlerInternal;
            KeokenStateDelegatedGetBalanceHandler = KeokenStateDelegatedGetBalanceHandlerInternal;
        }