flaw-vulkan/Flaw/Graphics/Vulkan/FFI.hs

Summary

Maintainability
Test Coverage

Use camelCase
Open

type FN_vkFreeFunction = Ptr () -> Ptr () -> IO ()

Found

type FN_vkFreeFunction = Ptr () -> Ptr () -> IO ()

Perhaps

type FNVkFreeFunction = Ptr () -> Ptr () -> IO ()

Use camelCase
Open

type FN_vkGetPhysicalDeviceFeatures
  =  VkPhysicalDevice
  -> Ptr VkPhysicalDeviceFeatures
  -> IO ()

Found

type FN_vkGetPhysicalDeviceFeatures =
    VkPhysicalDevice -> Ptr VkPhysicalDeviceFeatures -> IO ()

Perhaps

type FNVkGetPhysicalDeviceFeatures =
    VkPhysicalDevice -> Ptr VkPhysicalDeviceFeatures -> IO ()

Use camelCase
Open

type FN_vkEnumeratePhysicalDevices
  =  VkInstance
  -> Ptr Word32
  -> Ptr VkPhysicalDevice
  -> IO Word32 -- VkResult

Found

type FN_vkEnumeratePhysicalDevices =
    VkInstance -> Ptr Word32 -> Ptr VkPhysicalDevice -> IO Word32

Perhaps

type FNVkEnumeratePhysicalDevices =
    VkInstance -> Ptr Word32 -> Ptr VkPhysicalDevice -> IO Word32

Use camelCase
Open

type FN_vkDestroyImage
  =  VkDevice
  -> VkImage
  -> Ptr VkAllocationCallbacks
  -> IO ()

Found

type FN_vkDestroyImage =
    VkDevice -> VkImage -> Ptr VkAllocationCallbacks -> IO ()

Perhaps

type FNVkDestroyImage =
    VkDevice -> VkImage -> Ptr VkAllocationCallbacks -> IO ()

Use camelCase
Open

type FN_vkCreateFramebuffer
  =  VkDevice
  -> Ptr VkFramebufferCreateInfo
  -> Ptr VkAllocationCallbacks
  -> Ptr VkFramebuffer

Found

type FN_vkCreateFramebuffer =
    VkDevice
    -> Ptr VkFramebufferCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkFramebuffer -> IO Word32

Perhaps

type FNVkCreateFramebuffer =
    VkDevice
    -> Ptr VkFramebufferCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkFramebuffer -> IO Word32

Use camelCase
Open

type FN_vkCreateGraphicsPipelines
  =  VkDevice
  -> VkPipelineCache
  -> Word32
  -> Ptr VkGraphicsPipelineCreateInfo

Found

type FN_vkCreateGraphicsPipelines =
    VkDevice
    -> VkPipelineCache
       -> Word32
          -> Ptr VkGraphicsPipelineCreateInfo
             -> Ptr VkAllocationCallbacks -> Ptr VkPipeline -> IO Word32

Perhaps

type FNVkCreateGraphicsPipelines =
    VkDevice
    -> VkPipelineCache
       -> Word32
          -> Ptr VkGraphicsPipelineCreateInfo
             -> Ptr VkAllocationCallbacks -> Ptr VkPipeline -> IO Word32

Use camelCase
Open

type FN_vkGetPhysicalDeviceProperties
  =  VkPhysicalDevice
  -> Ptr VkPhysicalDeviceProperties
  -> IO ()

Found

type FN_vkGetPhysicalDeviceProperties =
    VkPhysicalDevice -> Ptr VkPhysicalDeviceProperties -> IO ()

Perhaps

type FNVkGetPhysicalDeviceProperties =
    VkPhysicalDevice -> Ptr VkPhysicalDeviceProperties -> IO ()

Use camelCase
Open

type FN_vkGetDeviceQueue
  =  VkDevice
  -> Word32
  -> Word32
  -> Ptr VkQueue

Found

type FN_vkGetDeviceQueue =
    VkDevice -> Word32 -> Word32 -> Ptr VkQueue -> IO ()

Perhaps

type FNVkGetDeviceQueue =
    VkDevice -> Word32 -> Word32 -> Ptr VkQueue -> IO ()

Use camelCase
Open

type FN_vkCreateRenderPass
  =  VkDevice
  -> Ptr VkRenderPassCreateInfo
  -> Ptr VkAllocationCallbacks
  -> Ptr VkRenderPass

Found

type FN_vkCreateRenderPass =
    VkDevice
    -> Ptr VkRenderPassCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkRenderPass -> IO Word32

Perhaps

type FNVkCreateRenderPass =
    VkDevice
    -> Ptr VkRenderPassCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkRenderPass -> IO Word32

Use camelCase
Open

type FN_vkDestroyRenderPass
  =  VkDevice
  -> VkRenderPass
  -> Ptr VkAllocationCallbacks
  -> IO ()

Found

type FN_vkDestroyRenderPass =
    VkDevice -> VkRenderPass -> Ptr VkAllocationCallbacks -> IO ()

Perhaps

type FNVkDestroyRenderPass =
    VkDevice -> VkRenderPass -> Ptr VkAllocationCallbacks -> IO ()

Use camelCase
Open

type FN_vkCreateDevice
  =  VkPhysicalDevice
  -> Ptr VkDeviceCreateInfo
  -> Ptr VkAllocationCallbacks
  -> Ptr VkDevice

Found

type FN_vkCreateDevice =
    VkPhysicalDevice
    -> Ptr VkDeviceCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkDevice -> IO Word32

Perhaps

type FNVkCreateDevice =
    VkPhysicalDevice
    -> Ptr VkDeviceCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkDevice -> IO Word32

Use camelCase
Open

type FN_vkReallocationFunction = Ptr () -> Ptr () -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr ())

Found

type FN_vkReallocationFunction =
    Ptr ()
    -> Ptr ()
       -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr ())

Perhaps

type FNVkReallocationFunction =
    Ptr ()
    -> Ptr ()
       -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr ())

Use camelCase
Open

type FN_vkGetDeviceProcAddr
  =  VkDevice
  -> Ptr CChar
  -> IO (FunPtr (IO ()))

Found

type FN_vkGetDeviceProcAddr =
    VkDevice -> Ptr CChar -> IO (FunPtr (IO ()))

Perhaps

type FNVkGetDeviceProcAddr =
    VkDevice -> Ptr CChar -> IO (FunPtr (IO ()))

Use camelCase
Open

type FN_vkCreateImageView
  =  VkDevice
  -> Ptr VkImageViewCreateInfo
  -> Ptr VkAllocationCallbacks
  -> Ptr VkImageView

Found

type FN_vkCreateImageView =
    VkDevice
    -> Ptr VkImageViewCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkImageView -> IO Word32

Perhaps

type FNVkCreateImageView =
    VkDevice
    -> Ptr VkImageViewCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkImageView -> IO Word32

Use camelCase
Open

type FN_vkCreateComputePipelines
  =  VkDevice
  -> VkPipelineCache
  -> Word32
  -> Ptr VkComputePipelineCreateInfo

Found

type FN_vkCreateComputePipelines =
    VkDevice
    -> VkPipelineCache
       -> Word32
          -> Ptr VkComputePipelineCreateInfo
             -> Ptr VkAllocationCallbacks -> Ptr VkPipeline -> IO Word32

Perhaps

type FNVkCreateComputePipelines =
    VkDevice
    -> VkPipelineCache
       -> Word32
          -> Ptr VkComputePipelineCreateInfo
             -> Ptr VkAllocationCallbacks -> Ptr VkPipeline -> IO Word32

Use camelCase
Open

type FN_vkInternalFreeNotification = Ptr () -> CSize -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()

Found

type FN_vkInternalFreeNotification =
    Ptr ()
    -> CSize
       -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()

Perhaps

type FNVkInternalFreeNotification =
    Ptr ()
    -> CSize
       -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()

Use camelCase
Open

type FN_vkGetPhysicalDeviceQueueFamilyProperties
  =  VkPhysicalDevice
  -> Ptr Word32
  -> Ptr VkQueueFamilyProperties
  -> IO ()

Found

type FN_vkGetPhysicalDeviceQueueFamilyProperties =
    VkPhysicalDevice
    -> Ptr Word32 -> Ptr VkQueueFamilyProperties -> IO ()

Perhaps

type FNVkGetPhysicalDeviceQueueFamilyProperties =
    VkPhysicalDevice
    -> Ptr Word32 -> Ptr VkQueueFamilyProperties -> IO ()

Use camelCase
Open

type FN_vkDestroyDevice
  =  VkDevice
  -> Ptr VkAllocationCallbacks
  -> IO ()

Found

type FN_vkDestroyDevice =
    VkDevice -> Ptr VkAllocationCallbacks -> IO ()

Perhaps

type FNVkDestroyDevice =
    VkDevice -> Ptr VkAllocationCallbacks -> IO ()

Use camelCase
Open

type FN_vkInternalAllocationNotification = Ptr () -> CSize -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()

Found

type FN_vkInternalAllocationNotification =
    Ptr ()
    -> CSize
       -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()

Perhaps

type FNVkInternalAllocationNotification =
    Ptr ()
    -> CSize
       -> VkInternalAllocationType -> VkSystemAllocationScope -> IO ()

Use camelCase
Open

type FN_vkDestroyShaderModule
  =  VkDevice
  -> VkShaderModule
  -> Ptr VkAllocationCallbacks
  -> IO ()

Found

type FN_vkDestroyShaderModule =
    VkDevice -> VkShaderModule -> Ptr VkAllocationCallbacks -> IO ()

Perhaps

type FNVkDestroyShaderModule =
    VkDevice -> VkShaderModule -> Ptr VkAllocationCallbacks -> IO ()

Use camelCase
Open

type FN_vkDestroyImageView
  =  VkDevice
  -> VkImageView
  -> Ptr VkAllocationCallbacks
  -> IO ()

Found

type FN_vkDestroyImageView =
    VkDevice -> VkImageView -> Ptr VkAllocationCallbacks -> IO ()

Perhaps

type FNVkDestroyImageView =
    VkDevice -> VkImageView -> Ptr VkAllocationCallbacks -> IO ()

Use camelCase
Open

type FN_vkDestroyPipeline
  =  VkDevice
  -> VkPipeline
  -> Ptr VkAllocationCallbacks
  -> IO ()

Found

type FN_vkDestroyPipeline =
    VkDevice -> VkPipeline -> Ptr VkAllocationCallbacks -> IO ()

Perhaps

type FNVkDestroyPipeline =
    VkDevice -> VkPipeline -> Ptr VkAllocationCallbacks -> IO ()

Use camelCase
Open

type FN_vkCreateShaderModule
  =  VkDevice
  -> Ptr VkShaderModuleCreateInfo
  -> Ptr VkAllocationCallbacks
  -> Ptr VkShaderModule

Found

type FN_vkCreateShaderModule =
    VkDevice
    -> Ptr VkShaderModuleCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkShaderModule -> IO Word32

Perhaps

type FNVkCreateShaderModule =
    VkDevice
    -> Ptr VkShaderModuleCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkShaderModule -> IO Word32

Use camelCase
Open

type FN_vkAllocationFunction =  Ptr () -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr ())

Found

type FN_vkAllocationFunction =
    Ptr () -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr ())

Perhaps

type FNVkAllocationFunction =
    Ptr () -> CSize -> CSize -> VkSystemAllocationScope -> IO (Ptr ())

Use camelCase
Open

type FN_vkDestroyFramebuffer
  =  VkDevice
  -> VkFramebuffer
  -> Ptr VkAllocationCallbacks
  -> IO ()

Found

type FN_vkDestroyFramebuffer =
    VkDevice -> VkFramebuffer -> Ptr VkAllocationCallbacks -> IO ()

Perhaps

type FNVkDestroyFramebuffer =
    VkDevice -> VkFramebuffer -> Ptr VkAllocationCallbacks -> IO ()

Use camelCase
Open

type FN_vkCreateImage
  =  VkDevice
  -> Ptr VkImageCreateInfo
  -> Ptr VkAllocationCallbacks
  -> Ptr VkImage

Found

type FN_vkCreateImage =
    VkDevice
    -> Ptr VkImageCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkImage -> IO Word32

Perhaps

type FNVkCreateImage =
    VkDevice
    -> Ptr VkImageCreateInfo
       -> Ptr VkAllocationCallbacks -> Ptr VkImage -> IO Word32

There are no issues that match your filters.

Category
Status