Function

GObjectTypeClasspeek_static

Declaration

GObjectTypeClass*
g_type_class_peek_static (
  GType type
)

Description

A more efficient version of g_type_class_peek() which works only for static types.

Available since:2.4

Parameters

type GType
 

Type ID of a classed type.

Return value

Returns: GTypeClass
 

The GTypeClass structure for the given type ID or NULL if the class does not currently exist or is dynamically loaded.

 The data is owned by the called function.