{-# LINE 1 "src/Lua/Constants.hsc" #-}
{-# LANGUAGE PatternSynonyms #-}
module Lua.Constants
(
pattern LUA_MULTRET
, pattern LUA_REGISTRYINDEX
, pattern LUA_TNONE
, pattern LUA_TNIL
, pattern LUA_TBOOLEAN
, pattern LUA_TLIGHTUSERDATA
, pattern LUA_TNUMBER
, pattern LUA_TSTRING
, pattern LUA_TTABLE
, pattern LUA_TFUNCTION
, pattern LUA_TUSERDATA
, pattern LUA_TTHREAD
, pattern LUA_OK
, pattern LUA_YIELD
, pattern LUA_ERRRUN
, pattern LUA_ERRSYNTAX
, pattern LUA_ERRMEM
, pattern LUA_ERRGCMM
, pattern LUA_ERRERR
, pattern LUA_ERRFILE
, pattern LUA_OPEQ
, pattern LUA_OPLT
, pattern LUA_OPLE
, pattern LUA_GCSTOP
, pattern LUA_GCRESTART
, pattern LUA_GCCOLLECT
, pattern LUA_GCCOUNT
, pattern LUA_GCCOUNTB
, pattern LUA_GCSTEP
, pattern LUA_GCSETPAUSE
, pattern LUA_GCSETSTEPMUL
, pattern LUA_GCISRUNNING
, pattern LUA_REFNIL
, pattern LUA_NOREF
, pattern TRUE
, pattern FALSE
) where
import Foreign.C (CInt (..))
import Lua.Types
pattern LUA_MULTRET :: NumResults
pattern $bLUA_MULTRET :: NumResults
$mLUA_MULTRET :: forall r. NumResults -> (Void# -> r) -> (Void# -> r) -> r
LUA_MULTRET = NumResults (-1)
{-# LINE 74 "src/Lua/Constants.hsc" #-}
pattern LUA_REGISTRYINDEX :: StackIndex
pattern $bLUA_REGISTRYINDEX :: StackIndex
$mLUA_REGISTRYINDEX :: forall r. StackIndex -> (Void# -> r) -> (Void# -> r) -> r
LUA_REGISTRYINDEX = StackIndex (-1001000)
{-# LINE 78 "src/Lua/Constants.hsc" #-}
pattern LUA_TNONE :: TypeCode
pattern $bLUA_TNONE :: TypeCode
$mLUA_TNONE :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TNONE = TypeCode (-1)
{-# LINE 85 "src/Lua/Constants.hsc" #-}
pattern LUA_TNIL :: TypeCode
pattern $bLUA_TNIL :: TypeCode
$mLUA_TNIL :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TNIL = TypeCode (0)
{-# LINE 89 "src/Lua/Constants.hsc" #-}
pattern LUA_TBOOLEAN :: TypeCode
pattern $bLUA_TBOOLEAN :: TypeCode
$mLUA_TBOOLEAN :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TBOOLEAN = TypeCode (1)
{-# LINE 93 "src/Lua/Constants.hsc" #-}
pattern LUA_TLIGHTUSERDATA :: TypeCode
pattern $bLUA_TLIGHTUSERDATA :: TypeCode
$mLUA_TLIGHTUSERDATA :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TLIGHTUSERDATA = TypeCode (2)
{-# LINE 97 "src/Lua/Constants.hsc" #-}
pattern LUA_TNUMBER :: TypeCode
pattern $bLUA_TNUMBER :: TypeCode
$mLUA_TNUMBER :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TNUMBER = TypeCode (3)
{-# LINE 101 "src/Lua/Constants.hsc" #-}
pattern LUA_TSTRING :: TypeCode
pattern $bLUA_TSTRING :: TypeCode
$mLUA_TSTRING :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TSTRING = TypeCode (4)
{-# LINE 105 "src/Lua/Constants.hsc" #-}
pattern LUA_TTABLE :: TypeCode
pattern $bLUA_TTABLE :: TypeCode
$mLUA_TTABLE :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TTABLE = TypeCode (5)
{-# LINE 109 "src/Lua/Constants.hsc" #-}
pattern LUA_TFUNCTION :: TypeCode
pattern $bLUA_TFUNCTION :: TypeCode
$mLUA_TFUNCTION :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TFUNCTION = TypeCode (6)
{-# LINE 113 "src/Lua/Constants.hsc" #-}
pattern LUA_TUSERDATA :: TypeCode
pattern $bLUA_TUSERDATA :: TypeCode
$mLUA_TUSERDATA :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TUSERDATA = TypeCode (7)
{-# LINE 117 "src/Lua/Constants.hsc" #-}
pattern LUA_TTHREAD :: TypeCode
pattern $bLUA_TTHREAD :: TypeCode
$mLUA_TTHREAD :: forall r. TypeCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_TTHREAD = TypeCode (8)
{-# LINE 121 "src/Lua/Constants.hsc" #-}
pattern LUA_OK :: StatusCode
pattern $bLUA_OK :: StatusCode
$mLUA_OK :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_OK = StatusCode 0
{-# LINE 129 "src/Lua/Constants.hsc" #-}
pattern LUA_YIELD :: StatusCode
pattern $bLUA_YIELD :: StatusCode
$mLUA_YIELD :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_YIELD = StatusCode 1
{-# LINE 133 "src/Lua/Constants.hsc" #-}
pattern LUA_ERRRUN :: StatusCode
pattern $bLUA_ERRRUN :: StatusCode
$mLUA_ERRRUN :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_ERRRUN = StatusCode 2
{-# LINE 137 "src/Lua/Constants.hsc" #-}
pattern LUA_ERRSYNTAX :: StatusCode
pattern $bLUA_ERRSYNTAX :: StatusCode
$mLUA_ERRSYNTAX :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_ERRSYNTAX = StatusCode 3
{-# LINE 141 "src/Lua/Constants.hsc" #-}
pattern LUA_ERRMEM :: StatusCode
pattern $bLUA_ERRMEM :: StatusCode
$mLUA_ERRMEM :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_ERRMEM = StatusCode 4
{-# LINE 146 "src/Lua/Constants.hsc" #-}
pattern LUA_ERRGCMM :: StatusCode
pattern $bLUA_ERRGCMM :: StatusCode
$mLUA_ERRGCMM :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_ERRGCMM = StatusCode 5
{-# LINE 152 "src/Lua/Constants.hsc" #-}
pattern LUA_ERRERR :: StatusCode
pattern $bLUA_ERRERR :: StatusCode
$mLUA_ERRERR :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_ERRERR = StatusCode 6
{-# LINE 156 "src/Lua/Constants.hsc" #-}
pattern LUA_ERRFILE :: StatusCode
pattern $bLUA_ERRFILE :: StatusCode
$mLUA_ERRFILE :: forall r. StatusCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_ERRFILE = StatusCode 7
{-# LINE 160 "src/Lua/Constants.hsc" #-}
pattern LUA_OPEQ :: OPCode
pattern $bLUA_OPEQ :: OPCode
$mLUA_OPEQ :: forall r. OPCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_OPEQ = OPCode 0
{-# LINE 168 "src/Lua/Constants.hsc" #-}
pattern LUA_OPLT :: OPCode
pattern $bLUA_OPLT :: OPCode
$mLUA_OPLT :: forall r. OPCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_OPLT = OPCode 1
{-# LINE 172 "src/Lua/Constants.hsc" #-}
pattern LUA_OPLE :: OPCode
pattern $bLUA_OPLE :: OPCode
$mLUA_OPLE :: forall r. OPCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_OPLE = OPCode 2
{-# LINE 176 "src/Lua/Constants.hsc" #-}
pattern LUA_GCSTOP :: GCCode
pattern $bLUA_GCSTOP :: GCCode
$mLUA_GCSTOP :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCSTOP = GCCode 0
{-# LINE 184 "src/Lua/Constants.hsc" #-}
pattern LUA_GCRESTART :: GCCode
pattern $bLUA_GCRESTART :: GCCode
$mLUA_GCRESTART :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCRESTART = GCCode 1
{-# LINE 188 "src/Lua/Constants.hsc" #-}
pattern LUA_GCCOLLECT :: GCCode
pattern $bLUA_GCCOLLECT :: GCCode
$mLUA_GCCOLLECT :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCCOLLECT = GCCode 2
{-# LINE 192 "src/Lua/Constants.hsc" #-}
pattern LUA_GCCOUNT :: GCCode
pattern $bLUA_GCCOUNT :: GCCode
$mLUA_GCCOUNT :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCCOUNT = GCCode 3
{-# LINE 196 "src/Lua/Constants.hsc" #-}
pattern LUA_GCCOUNTB :: GCCode
pattern $bLUA_GCCOUNTB :: GCCode
$mLUA_GCCOUNTB :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCCOUNTB = GCCode 4
{-# LINE 201 "src/Lua/Constants.hsc" #-}
pattern LUA_GCSTEP :: GCCode
pattern $bLUA_GCSTEP :: GCCode
$mLUA_GCSTEP :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCSTEP = GCCode 5
{-# LINE 205 "src/Lua/Constants.hsc" #-}
pattern LUA_GCSETPAUSE :: GCCode
pattern $bLUA_GCSETPAUSE :: GCCode
$mLUA_GCSETPAUSE :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCSETPAUSE = GCCode 6
{-# LINE 210 "src/Lua/Constants.hsc" #-}
pattern LUA_GCSETSTEPMUL :: GCCode
pattern $bLUA_GCSETSTEPMUL :: GCCode
$mLUA_GCSETSTEPMUL :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCSETSTEPMUL = GCCode 7
{-# LINE 215 "src/Lua/Constants.hsc" #-}
pattern LUA_GCISRUNNING :: GCCode
pattern $bLUA_GCISRUNNING :: GCCode
$mLUA_GCISRUNNING :: forall r. GCCode -> (Void# -> r) -> (Void# -> r) -> r
LUA_GCISRUNNING = GCCode 9
{-# LINE 220 "src/Lua/Constants.hsc" #-}
pattern LUA_REFNIL :: CInt
pattern $bLUA_REFNIL :: CInt
$mLUA_REFNIL :: forall r. CInt -> (Void# -> r) -> (Void# -> r) -> r
LUA_REFNIL = -2
{-# LINE 228 "src/Lua/Constants.hsc" #-}
pattern LUA_NOREF :: CInt
pattern $bLUA_NOREF :: CInt
$mLUA_NOREF :: forall r. CInt -> (Void# -> r) -> (Void# -> r) -> r
LUA_NOREF = -2
{-# LINE 232 "src/Lua/Constants.hsc" #-}
pattern TRUE :: LuaBool
pattern $bTRUE :: LuaBool
$mTRUE :: forall r. LuaBool -> (Void# -> r) -> (Void# -> r) -> r
TRUE = LuaBool 1
pattern FALSE :: LuaBool
pattern $bFALSE :: LuaBool
$mFALSE :: forall r. LuaBool -> (Void# -> r) -> (Void# -> r) -> r
FALSE = LuaBool 0