Sha256: a66d852cc159e193e07f70ab46f653311aac9447c4dee593e7b74de7a6eef8ad
Contents?: true
Size: 300 Bytes
Versions: 4
Compression:
Stored size: 300 Bytes
Contents
#ifndef UTIL_H #define UTIL_H /*** Utility functions ***/ #define ALLOC(type) ALLOC_N(type, 1) #define ALLOC_N(type, n) ((type*) xmalloc(sizeof(type) * (n))) void *xmalloc(size_t); char *hextoa(const char *, int); #define STARTS_WITH(x, y) (strncmp((x), (y), strlen(y)) == 0) #endif /* UTIL_H */
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mockspotify-0.1.6 | src/util.h |
mockspotify-0.1.5 | src/util.h |
mockspotify-0.1.4 | src/util.h |
mockspotify-0.1.3 | src/util.h |