popt  1.16
Data Fields
poptArg_u Union Reference

A union to simplify opt->arg access without casting. More...

#include <poptint.h>

Collaboration diagram for poptArg_u:
Collaboration graph
[legend]

Data Fields

void * ptr
 
int * intp
 
short * shortp
 
long * longp
 
long long * longlongp
 
float * floatp
 
double * doublep
 
const char ** argv
 
poptCallbackType cb
 
poptOption opt
 

Detailed Description

A union to simplify opt->arg access without casting.

Definition at line 63 of file poptint.h.

Field Documentation

◆ argv

const char** poptArg_u::argv

Definition at line 72 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

◆ cb

poptCallbackType poptArg_u::cb

◆ doublep

double* poptArg_u::doublep

Definition at line 71 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

◆ floatp

float* poptArg_u::floatp

Definition at line 70 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

◆ intp

int* poptArg_u::intp

Definition at line 66 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

◆ longlongp

long long* poptArg_u::longlongp

Definition at line 69 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

◆ longp

long* poptArg_u::longp

Definition at line 68 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().

◆ opt

poptOption poptArg_u::opt

◆ ptr

void* poptArg_u::ptr

◆ shortp

short* poptArg_u::shortp

Definition at line 67 of file poptint.h.

Referenced by poptSaveArg(), and singleOptionDefaultValue().


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

Generated for popt by  doxygen 1.8.13