static initializer: execute it when loading the class file
[mate.git] / Mate / MethodPool.hs-boot
diff --git a/Mate/MethodPool.hs-boot b/Mate/MethodPool.hs-boot
new file mode 100644 (file)
index 0000000..f17cfb4
--- /dev/null
@@ -0,0 +1,13 @@
+{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE ForeignFunctionInterface #-}
+module Mate.MethodPool where
+
+import Data.Binary
+import qualified Data.ByteString.Lazy as B
+
+import Mate.Types
+
+
+addMethodRef :: Word32 -> MethodInfo -> [B.ByteString] -> IO ()
+compileBB :: MapBB -> MethodInfo -> IO Word32
+executeFuncPtr :: Word32 -> IO ()