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. pattern LUA_GCSETSTEPMUL :: GCCode

    lua 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.

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

    lua 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

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

    lua 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

Page 1305 of many | Previous | Next