Fixed example in header file.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 06 Sep 2014 23:20:14 +0200
changeset 9125e004bdb812ce
parent 9123 bad450d761eb
child 9126 08f3b56969b1
Fixed example in header file.

Did not compile because of typo in function name and missing argument.
include/SDL_thread.h
     1.1 --- a/include/SDL_thread.h	Thu Sep 04 22:59:32 2014 +0200
     1.2 +++ b/include/SDL_thread.h	Sat Sep 06 23:20:14 2014 +0200
     1.3 @@ -233,9 +233,9 @@
     1.4   *          if (!thread_local_storage) {
     1.5   *              thread_local_storage = SDL_TLSCreate();
     1.6   *          }
     1.7 - *          SDL_AtomicUnLock(&tls_lock);
     1.8 + *          SDL_AtomicUnlock(&tls_lock);
     1.9   *      }
    1.10 - *      SDL_TLSSet(thread_local_storage, value);
    1.11 + *      SDL_TLSSet(thread_local_storage, value, 0);
    1.12   *  }
    1.13   *  
    1.14   *  void *GetMyThreadData(void)