blob: 452d2fb9d73448dcec72a0a516adedf62de16832 (
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;
}
|