Function Macro
GLibSTRUCT_OFFSET
since: 2.0
Description
Returns the offset, in bytes, of a member of a struct.
Consider using standard C offsetof()
, available since at least C89
and C++98, in new code (but note that offsetof()
returns a size_t
rather than a long
).
Available since: 2.0
This function is not directly available to language bindings.