mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Added CIA, bugfixes, portlibs update
This commit is contained in:
parent
2725dce383
commit
b19ec95cc7
14 changed files with 757 additions and 158 deletions
|
|
@ -306,14 +306,9 @@ void load_thread_lib(lua_State *L) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Pool lib for accessing the pool from the thread //
|
||||
// Libception //
|
||||
// Documentation is in thread.pool.doc.c, because LDoc //
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/***
|
||||
The `pool` module. Only accessible from a sub-thread.
|
||||
@module ctr.thread.pool
|
||||
@usage local pool = require("ctr.thread.pool")
|
||||
*/
|
||||
|
||||
static int pool_set(lua_State *L) {
|
||||
lua_getfield(L, LUA_REGISTRYINDEX, "LThreadSelf");
|
||||
thread_userdata* thread = (thread_userdata*)lua_tointeger(L, -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue