libpsyc/include/psyc/lib.h

19 lines
403 B
C
Raw Normal View History

2011-04-16 15:30:03 +00:00
/* this is needed to compile the library, not to use it */
2011-04-22 15:09:32 +00:00
#ifndef PSYC_LIB_H
# define PSYC_LIB_H
2011-04-16 15:30:03 +00:00
#include "../psyc.h"
#include "./debug.h"
/* perlisms for readability */
#define unless(COND) if (!(COND))
#define until(COND) while (!(COND))
2011-04-20 20:22:55 +00:00
#ifndef _GNU_SOURCE
void *memmem(const void *haystack, size_t haystacklen,
const void *needle, size_t needlelen);
#endif
2011-04-22 15:09:32 +00:00
#endif // PSYC_LIB_H