blob: 1396c60b32dcba0bc520d8695ead846be8dc6b92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifdef __APPLE__
# include "OpenAL/al.h"
# include "OpenAL/alc.h"
#else
# include <AL/al.h>
# include <AL/alc.h>
#endif
#include <stdio.h>
int main()
{
/* Reference an AL symbol without requiring a context at runtime. */
printf("&alGetString = %p\n", &alGetString);
/* Reference an ALC symbol without requiring a context at runtime. */
printf("&alcGetString = %p\n", &alcGetString);
return 0;
}
|