Comment Re:typecast...? (Score 1) 513
More like
#include "scifi_geek.h"
typedef struct DRWHO
{
int maxLives;
int currentRegenration;
int numOfHearts; // as per the 8th doctor books
int *currentCompanions; // a list of companions
} dr_who;
extern void *eccleston;
void main()
{
dr_who *ninth_doctor = (dr_who *)eccleston;
OneSeason(ninth_doctor);
}
#include "scifi_geek.h"
typedef struct DRWHO
{
int maxLives;
int currentRegenration;
int numOfHearts;
int *currentCompanions;
} dr_who;
extern void *eccleston;
void main()
{
dr_who *ninth_doctor = (dr_who *)eccleston;
OneSeason(ninth_doctor);
}