TwiceAsNice  2019-02-18
Classes | Macros | Typedefs | Functions
primes.h File Reference
This graph shows which files directly or indirectly include this file:

Classes

struct  _PRIMES
 

Macros

#define MAXFACTORS   40
 

Typedefs

typedef struct _PRIMES NPRIME
 
typedef struct _PRIMESpNPRIME
 

Functions

void pnp_construct (pNPRIME pnp, int i)
 
void pnp_destruct (pNPRIME pnp)
 
void pnp_clean (pNPRIME pnp)
 
int pnp_add_num (pNPRIME pnp, int i)
 
int pnp_factor_into_primes (pNPRIME pnp, int i)
 

Macro Definition Documentation

◆ MAXFACTORS

#define MAXFACTORS   40

Typedef Documentation

◆ NPRIME

typedef struct _PRIMES NPRIME

◆ pNPRIME

typedef struct _PRIMES * pNPRIME

Function Documentation

◆ pnp_add_num()

int pnp_add_num ( pNPRIME  pnp,
int  i 
)

◆ pnp_clean()

void pnp_clean ( pNPRIME  pnp)

◆ pnp_construct()

void pnp_construct ( pNPRIME  pnp,
int  i 
)

◆ pnp_destruct()

void pnp_destruct ( pNPRIME  pnp)

◆ pnp_factor_into_primes()

int pnp_factor_into_primes ( pNPRIME  pnp,
int  i 
)