Aegisub/installer/RuntimeTestLibrary/RuntimeTestLibrary.cpp
Niels Martin Hansen 39849e2dc6 Further updates to installer, should be finished for r1564 alpha release
Originally committed to SVN as r1567.
2007-09-21 02:15:00 +00:00

19 lines
474 B
C++

/*
Dummy library created for the Aegisub 2 installer.
Exports a single function only for the purpose of testing
whether the DLL can load on the system, ie. whether
the required runtime libraries are installed.
There are no restrictions on the use of this library
for any purposes whatsoever, and likewise are
no warranties given for it whatsoever.
*/
#include <stdlib.h>
extern "C" __declspec(dllexport) void __stdcall TestFunction()
{
void *x = malloc(16);
free(x);
}