瀏覽代碼

the merge screwed up the new thread API, fixed

--HG--
branch : minor
Bill Meltsner 14 年之前
父節點
當前提交
b0a07c7a4b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/modules/thread/sdl/wrap_Thread.cpp

+ 2 - 2
src/modules/thread/sdl/wrap_Thread.cpp

@@ -77,7 +77,7 @@ namespace sdl
 		Thread *t = luax_checkthread(L, 1);
 		std::string name = luax_checklstring(L, 2);
 		t->lock();
-		ThreadVariant *v = t->receive(name);
+		ThreadVariant *v = t->get(name);
 		t->clear(name);
 		t->unlock();
 		if (!v)
@@ -167,7 +167,7 @@ namespace sdl
 		Thread *t = luax_checkthread(L, 1);
 		std::string name = luax_checklstring(L, 2);
 		t->lock();
-		ThreadVariant *v = t->receive(name);
+		ThreadVariant *v = t->get(name);
 		t->unlock();
 		if (!v)
 		{