📄 sndsystem.c
字号:
/* sndsystem.c * * Roger Dannenberg * 21 Jun 1997 * */#include "stdlib.h"#include "stdio.h"#include "snd.h"#ifdef __cplusplusextern "C" {#endif#ifndef __WX__void snd_fail(char *msg){ printf("ERROR: %s\n", msg);}#endifvoid *snd_alloc(size_t s){ void *res; /* printf("snd_alloc of %ld ", s); */ res = malloc(s); return res;}void snd_free(void *a){ /* printf("snd_free of %lx\n", a);*/ free(a);}#ifdef __cplusplus} // extern "C"#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -