blob: 99fd95434f1d1504aa5e4fb1c7f2a62af36fd7f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/**
* @file fmodwrapper.cpp
* @brief dummy source file for building a shared library to wrap libfmod.a
*
* Copyright (c) 2005-$CurrentYear$, Linden Research, Inc.
* $License$
*/
extern "C"
{
void FSOUND_Init(void);
}
void* fmodwrapper(void)
{
// When building the fmodwrapper library, the linker doesn't seem to want to bring in libfmod.a unless I explicitly
// reference at least one symbol in the library. This seemed like the simplest way.
return (void*)&FSOUND_Init;
}
|