include types_api.h / coding style
Merge pull request #112 from gordon/boolmatrix

include types_api.h / coding style