Interface InterfaceInfo.OnInterfaceInitFunc

Enclosing class:
InterfaceInfo
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface InterfaceInfo.OnInterfaceInitFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInterfaceInitFunc(CallbackHandler __self, Pointer g_iface, Pointer iface_data)
    A callback function used by the type system to initialize a new
    interface.
  • Method Details

    • onInterfaceInitFunc

      void onInterfaceInitFunc(CallbackHandler __self, @Nonnull Pointer g_iface, @Nullable Pointer iface_data)
      A callback function used by the type system to initialize a new
      interface.

      This function should initialize all internal data and* allocate any
      resources required by the interface.

      The members of @iface_data are guaranteed to have been filled with
      zeros before this function is called.
      Parameters:
      g_iface - The interface structure to initialize
      iface_data - The @interface_data supplied via the #GInterfaceInfo structure