Function Macro

GLibSTRUCT_MEMBER

Declaration [src]

#define G_STRUCT_MEMBER (
  member_type,
  struct_p,
  struct_offset
)

Description [src]

Returns a member of a structure at a given offset, using the given type.

Parameters

member_type -
 

The type of the struct field.

struct_p -
 

A pointer to a struct.

struct_offset -
 

The offset of the field from the start of the struct, in bytes.