The major version
()
| 27 | * The major version |
| 28 | **/ |
| 29 | public static int getMajor() |
| 30 | { |
| 31 | Native.IntPtr major = new Native.IntPtr(), minor = new Native.IntPtr(), build = new Native.IntPtr(), revision = new Native.IntPtr(); |
| 32 | Native.getVersion(major, minor, build, revision); |
| 33 | return major.value; |
| 34 | } |
| 35 | |
| 36 | /** |
| 37 | * The minor version |
no test coverage detected