Fixed example in header file.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 06 Sep 2014 23:20:14 +0200
changeset 9125 e004bdb812ce
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
--- a/include/SDL_thread.h	Thu Sep 04 22:59:32 2014 +0200
+++ b/include/SDL_thread.h	Sat Sep 06 23:20:14 2014 +0200
@@ -233,9 +233,9 @@
  *          if (!thread_local_storage) {
  *              thread_local_storage = SDL_TLSCreate();
  *          }
- *          SDL_AtomicUnLock(&tls_lock);
+ *          SDL_AtomicUnlock(&tls_lock);
  *      }
- *      SDL_TLSSet(thread_local_storage, value);
+ *      SDL_TLSSet(thread_local_storage, value, 0);
  *  }
  *  
  *  void *GetMyThreadData(void)