From 111c133b939c15c57c90cd474d55e84928c6307a Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Wed, 12 Jul 2023 21:05:57 -0300 Subject: Officially past the point of no return. C scripting works! --- tinycc/win32/examples/hello_dll.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tinycc/win32/examples/hello_dll.c (limited to 'tinycc/win32/examples/hello_dll.c') diff --git a/tinycc/win32/examples/hello_dll.c b/tinycc/win32/examples/hello_dll.c deleted file mode 100644 index 4813c5b..0000000 --- a/tinycc/win32/examples/hello_dll.c +++ /dev/null @@ -1,20 +0,0 @@ -//+--------------------------------------------------------------------------- -// -// HELLO_DLL.C - Windows DLL example - main application part -// - -#include - -void hello_func (void); -__declspec(dllimport) extern const char *hello_data; - -int WINAPI WinMain( - HINSTANCE hInstance, - HINSTANCE hPrevInstance, - LPSTR lpCmdLine, - int nCmdShow) -{ - hello_data = "Hello World!"; - hello_func(); - return 0; -} -- cgit v1.2.3