anton-dessiatov / inline-c-win32

Win32 Context for Haskell inline-c library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inline-c-win32

This is a little helper for the marvelous inline-c library. It provides a context with Win32 API data types so you can use DWORD, BOOL, UINT and other Win32 data types right in your inlined function types.

In other words, it allows you to write something like [C.block| DWORD { return 0xFFFFFFFF; } |], which otherwise will give you an error about unknown DWORD type.

About

Win32 Context for Haskell inline-c library

License:MIT License


Languages

Language:Haskell 100.0%