Function Macro

GObjectDEFINE_POINTER_TYPE_WITH_CODE

Declaration [src]

#define G_DEFINE_POINTER_TYPE_WITH_CODE (
  TypeName,
  type_name,
  _C_
)

Description [src]

A convenience macro for pointer type implementations. Similar to G_DEFINE_POINTER_TYPE(), but allows to insert custom code into the type_name_get_type() function.

Available since:2.26

Parameters

TypeName -
 

The name of the new type, in Camel case.

type_name -
 

The name of the new type, in lowercase, with words separated by _

_C_ -
 

Custom code that gets inserted in the *_get_type() function.