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.

  1. lua_rawset :: State -> StackIndex -> IO ()

    lua Lua

    Similar to lua_settable, but does a raw assignment (i.e., without metamethods). https://www.lua.org/manual/5.4/manual.html#lua_rawset.

  2. lua_rawseti :: State -> StackIndex -> Integer -> IO ()

    lua Lua

    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.

  3. lua_setglobal :: State -> CString -> IO ()

    lua Lua

    Warning: This is an unsafe function, errors will lead to a program crash;consider using hslua_getglobal instead.

  4. lua_setiuservalue :: State -> StackIndex -> CInt -> IO LuaBool

    lua Lua

    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

  5. lua_setmetatable :: State -> StackIndex -> IO ()

    lua Lua

    Pops a table from the stack and sets it as the new metatable for the value at the given index. https://www.lua.org/manual/5.4/manual.html#lua_setmetatable.

  6. lua_settable :: State -> StackIndex -> IO ()

    lua Lua

    Warning: This is an unsafe function, errors will lead to a program crash;consider using hslua_settable instead.

  7. lua_settop :: State -> StackIndex -> IO ()

    lua Lua

    Accepts any index, or 0, and sets the stack top to this index. If the new top is larger than the old one, then the new elements are filled with *nil*. If index is 0, then all stack elements are removed. https://www.lua.org/manual/5.4/manual.html#lua_settop

  8. lua_setupvalue :: State -> StackIndex -> CInt -> IO CString

    lua Lua

    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.

  9. lua_setwarnf :: State -> WarnFunction -> Ptr () -> IO ()

    lua Lua

    Sets the warning function to be used by Lua to emit warnings (see WarnFunction). The ud parameter sets the value ud passed to the warning function.

  10. pattern LUA_GCSETPAUSE :: GCCode

    lua Lua.Constants

    Sets data as the new value for the pause of the collector (see §2.5) and returns the previous value of the pause.

Page 1304 of many | Previous | Next