wix-on-linux/fake-lib.h
2017-05-15 19:19:10 +01:00

9 lines
358 B
C

char *ascii(const char16_t *wstr, bool translate_slashes);
void system_argv(const char *cmd, ...);
void c16cpy(char16_t *out, uint32_t *outsize, char *s);
void *smalloc(size_t size);
char *dupcat(const char *str, ...);
#define snew(type) ((type *)smalloc(sizeof(type)))
#define snewn(n,type) ((type *)smalloc((n)*sizeof(type)))
#define sfree(ptr) free(ptr)