C Container Collection (CCC)
Loading...
Searching...
No Matches
CCC_Handle_range_reverse_wrap Union Reference

#include <private_types.h>

Collaboration diagram for CCC_Handle_range_reverse_wrap:

Detailed Description

A helper type so that we may return ranges by compound literal reference to other functions for API consistency. The user interacts with this type in the API as follows but we typedef it so they don't care.

= &(CCC_Handle_range){function_returns_wrapper(arguments).private};
Definition: private_types.h:173
Definition: private_types.h:221
struct CCC_Handle_range private
Definition: private_types.h:223

We can then wrap that returned compound literal reference in a macro. Union is used as the wrapping type as a reminder that this type should serve no other purpose and add no additional fields.

Data Fields

struct CCC_Handle_range private
 

Field Documentation

◆ private

struct CCC_Handle_range CCC_Handle_range_reverse_wrap::private

Helper to return the compound literal reference.


The documentation for this union was generated from the following file: