diff options
author | tron <tron@openttd.org> | 2005-08-05 11:53:48 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-08-05 11:53:48 +0000 |
commit | c78af95d1d3ed714d365fc9d9005e39f926bfb80 (patch) | |
tree | 156ba2b5231e6c0ab0f9fe6830a7b60ec10af251 /thread.h | |
parent | 4696ef802a1c3b037a07a841945d73b52720a163 (diff) | |
download | openttd-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |