summaryrefslogtreecommitdiff
path: root/dylfunc_compile.cpp
blob: 9023f9761f90986cc556c41f3965c7ed30d48465 (plain)
1
2
3
4
5
6
7
8
9
10
// this process builds a dynamic library wrapping other code

extern "C" void dylfunc_compile(<context>)
{
	// write a dylfunc for passed context content
	// compile it with g++ -shared -fPIC source.cpp -o source.so
}