interoptopus_csharp 0.16.3

The C# backend for Interoptopus.
Documentation
1
2
3
4
5
6
7
8
static Interop()
{
    var api_version = Interop.{{ fn_name }}();
    if (api_version != 0x{{ hash_hex }})
    {
        throw new TypeLoadException($"API reports hash 0x{api_version:X} which differs from hash in bindings (0x{{ hash_hex }}). You probably forgot to update / copy either the bindings or the library.");
    }
}