for readability
move `GRN_API` to UnsupportedConstant.cs
add GrnUtil for utility methods
using System.Runtime.InteropServices