summaryrefslogtreecommitdiff
path: root/thread.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-05 11:53:48 +0000
committertron <tron@openttd.org>2005-08-05 11:53:48 +0000
commitc78af95d1d3ed714d365fc9d9005e39f926bfb80 (patch)
tree156ba2b5231e6c0ab0f9fe6830a7b60ec10af251 /thread.h
parent4696ef802a1c3b037a07a841945d73b52720a163 (diff)
downloadopenttd-c78af95d1d3ed714d365fc9d9005e39f926bfb80.tar.xz
(svn r2810) Threads may now return information when they terminate using a void*.
Also add the new files to the MSVC project files.
Diffstat (limited to 'thread.h')
-rw-r--r--thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/thread.h b/thread.h
index 1f4878106..73cea8c57 100644
--- a/thread.h
+++ b/thread.h
@@ -11,9 +11,9 @@
typedef struct Thread Thread;
-typedef void (*ThreadFunc)(void*);
+typedef void* (*ThreadFunc)(void*);
Thread* OTTDCreateThread(ThreadFunc, void*);
-void OTTDJoinThread(Thread*);
+void* OTTDJoinThread(Thread*);
#endif