Aegisub/aegisub/packages/win_installer/RuntimeTestLibrary/RuntimeTestLibrary.cpp
Amar Takhar 0df92fa359 SVN Transition Step 4/7
1. svn mv auto3 aegisub/src/libauto3
   1. svn mv installer aegisub/packages/win_installer

* See r2749 for full description.

Originally committed to SVN as r2753.
2009-03-08 08:31:28 +00:00

18 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);
}