From bd48d67c28ba878fed75df6b276f92b6fab8ed01 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 5 Aug 2005 11:53:48 +0000 Subject: (svn r2810) Threads may now return information when they terminate using a void*. Also add the new files to the MSVC project files. --- thread.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thread.h') 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 -- cgit v1.2.3-54-g00ecf