Add static API_TYPE to generated types (fixes issue#152)
Merge pull request #163 from yjbanov/static-api-type

Add static API_TYPE to generated types (fixes #152)