Attribute Macro glib_macros::object_interface[][src]

Expand description

Macro for boilerplate of ObjectInterface implementations.

This adds implementations for the get_type() method, which should probably never be defined differently.

It provides default values for the Prerequisites type parameter. If this present, the macro will use the provided value instead of the default.

Prerequisites is interfaces for types that require a specific base class or interfaces.

type Prerequisites = ();