shithub: libnate

ref: 6ff9ef0c4bef23bfd91f33f0c2f5cab0b88c0307
dir: /nate_construct.h/

View raw version
#include "nate.h"

void nc_push(Nelem*);
void nc_pop(void);
Nelem* nc_get(void);

// #define N_TYPE in your implementation
#define COND(N) (N->type == N_TYPE)
#define GUARD(N) assert(COND(N))


// internal stuff
void nc_init(void);

// default functionality
Nelem* nd_checkhit(Nelem* nelem, Image* screen, Rectangle r, Mouse m);