packages feed

pbc4hs-0.1.0.0: src/Scripting/Lua/Pbc.hs

{-# LANGUAGE ForeignFunctionInterface #-}

-- | pbc library wrapper, useful when sometimes require from dylib doesn't
-- work well
module Scripting.Lua.Pbc ( -- ** functions
                           openPbc
                         ) where

import Scripting.Lua

foreign import ccall "luaopen_protobuf_c" c_luaopen_pbc :: LuaState -> IO ()

-- | open pbc Lua library
openPbc :: LuaState -> IO ()
openPbc = c_luaopen_pbc