1 2 3 4 5 6 7 8 9 10
typedef int gboolean; typedef struct{ gboolean names : 1; gboolean types : 1; } ParamOptions; int p_param(ParamOptions* o){ return o->types && o->names; }