shithub: libnate

ref: c04fd4ce67a03c04b342c38185523bb834f4e0b7
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);