add clang
This commit is contained in:
parent
4715742aa8
commit
9a4b261179
890 changed files with 229323 additions and 20 deletions
13
05/tcc-final-old/win32/examples/dll.c
Normal file
13
05/tcc-final-old/win32/examples/dll.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
//+---------------------------------------------------------------------------
|
||||
//
|
||||
// dll.c - Windows DLL example - dynamically linked part
|
||||
//
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
__declspec(dllexport) const char *hello_data = "(not set)";
|
||||
|
||||
__declspec(dllexport) void hello_func (void)
|
||||
{
|
||||
MessageBox (0, hello_data, "From DLL", MB_ICONINFORMATION);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue