/*
test_dll.c
*/
#include <windows.h>
#define __TEST_DLL_MAKE_DLL_
#include "test_dll.h"
BOOL APIENTRY DllMain(HINSTANCE hinst, WORD reason, LPVOID resv)
{
switch(reason){
case DLL_PROCESS_ATTACH: break;
case DLL_PROCESS_DETACH: break;
case DLL_THREAD_ATTACH: break;
case DLL_THREAD_DETACH: break;
}
return TRUE;
}
int WINAPI test(int a)
{
return a + 4;
}
LyoKICB0ZXN0X2RsbC5jCiovCgojaW5jbHVkZSA8d2luZG93cy5oPgoKI2RlZmluZSBfX1RFU1RfRExMX01BS0VfRExMXwojaW5jbHVkZSAidGVzdF9kbGwuaCIKCkJPT0wgQVBJRU5UUlkgRGxsTWFpbihISU5TVEFOQ0UgaGluc3QsIFdPUkQgcmVhc29uLCBMUFZPSUQgcmVzdikKewogIHN3aXRjaChyZWFzb24pewogIGNhc2UgRExMX1BST0NFU1NfQVRUQUNIOiBicmVhazsKICBjYXNlIERMTF9QUk9DRVNTX0RFVEFDSDogYnJlYWs7CiAgY2FzZSBETExfVEhSRUFEX0FUVEFDSDogYnJlYWs7CiAgY2FzZSBETExfVEhSRUFEX0RFVEFDSDogYnJlYWs7CiAgfQogIHJldHVybiBUUlVFOwp9CgppbnQgV0lOQVBJIHRlc3QoaW50IGEpCnsKICByZXR1cm4gYSArIDQ7Cn0=