Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pattern
LUA_GCSETSTEPMUL :: GCCodelua Lua.Constants Sets data as the new value for the step multiplier of the collector (see §2.5) and returns the previous value of the step multiplier.
lua_setupvalue :: State -> StackIndex -> CInt -> IO CStringlua Lua.Debug Sets the value of a closure’s upvalue. It assigns the value on the top of the stack to the upvalue and returns its name. It also pops the value from the stack. Returns NULL (and pops nothing) when the index n is greater than the number of upvalues. Parameters funcindex and n are as in the function lua_getupvalue.
[-(0|1), +0, -]
lua_setupvalue.hslua_setglobal :: State -> CString -> CSize -> Ptr StatusCode -> IO ()lua Lua.Ersatz Behaves like lua_setglobal, but prevents unrecoverable program crashes by calling that function through lua_pcall. Takes an additional status code pointer that is set to the status returned by lua_pcall.
hslua_settable :: State -> StackIndex -> Ptr StatusCode -> IO ()lua Lua.Ersatz Behaves like lua_settable, but prevents unrecoverable program crashes by calling that function through lua_pcall. Takes an additional status code pointer that is set to the status returned by lua_pcall.
hslua_setglobal :: State -> CString -> CSize -> Ptr StatusCode -> IO ()lua Lua.Ersatz.Functions Behaves like lua_setglobal, but prevents unrecoverable program crashes by calling that function through lua_pcall. Takes an additional status code pointer that is set to the status returned by lua_pcall.
hslua_settable :: State -> StackIndex -> Ptr StatusCode -> IO ()lua Lua.Ersatz.Functions Behaves like lua_settable, but prevents unrecoverable program crashes by calling that function through lua_pcall. Takes an additional status code pointer that is set to the status returned by lua_pcall.
lua_rawset :: State -> StackIndex -> IO ()lua Lua.Primary Similar to lua_settable, but does a raw assignment (i.e., without metamethods). https://www.lua.org/manual/5.4/manual.html#lua_rawset.
lua_rawseti :: State -> StackIndex -> Integer -> IO ()lua Lua.Primary Does the equivalent of t[i] = v, where t is the table at the given index and v is the value at the top of the stack. This function pops the value from the stack. The assignment is raw, that is, it does not invoke the __newindex metamethod. https://www.lua.org/manual/5.4/manual.html#lua_rawseti.
lua_setglobal :: State -> CString -> IO ()lua Lua.Primary Warning: This is an unsafe function, errors will lead to a program crash;consider using hslua_getglobal instead.
lua_setiuservalue :: State -> StackIndex -> CInt -> IO LuaBoollua Lua.Primary Pops a value from the stack and sets it as the new n-th user value associated to the full userdata at the given index. Returns 0 if the userdata does not have that value. https://www.lua.org/manual/5.4/manual.html#lua_setiuservalue