Configuration of dwm for Mac Computers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
505 B

18 years ago
  1. /*
  2. * (C)opyright MMVI Anselm R. Garbe <garbeam at gmail dot com>
  3. * See LICENSE file for license details.
  4. */
  5. extern void error(char *errstr, ...);
  6. extern void *emallocz(unsigned int size);
  7. extern void *emalloc(unsigned int size);
  8. extern void *erealloc(void *ptr, unsigned int size);
  9. extern char *estrdup(const char *str);
  10. #define eassert(a) do { \
  11. if(!(a)) \
  12. failed_assert(#a, __FILE__, __LINE__); \
  13. } while (0)
  14. void failed_assert(char *a, char *file, int line);
  15. void swap(void **p1, void **p2);