packages feed

hasktorch-ffi-th-0.0.1.0: polyfill/Torch/FFI/TH/Short/FreeStorage.hs

{-# LANGUAGE ForeignFunctionInterface #-}
module Torch.FFI.TH.Short.FreeStorage where

import Foreign
import Data.Word
import Torch.Types.TH

foreign import ccall "&free_ShortStorage"
  p_free :: FunPtr (Ptr C'THState -> Ptr C'THShortStorage -> IO ())